subscribeToIsAvailable

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

Subscribe to the changes in the isAvailable property (that indicates availability of the device for the Nearby search)

Return

an HyperTrack.Cancellable object that can be used to unsubscribe from the event

Parameters

callback

callback function to invoke when the device availability changes