subscribeToIsAvailable

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

Subscribe to availability changes

Return

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

Parameters

callback

callback function to invoke when the device availability changes