subscribeToIsTracking

final static HyperTrack.Cancellable subscribeToIsTracking(Function1<Boolean, Unit> callback)

Subscribe to tracking intent changes

Return

an EmitterSubscription object that can be used to unsubscribe from the event

Parameters

callback

callback function to invoke when the tracking intent changes