add Availability Listener
open fun addAvailabilityListener(@Nullable listener: AvailabilityStateObserver.OnAvailabilityStateChangeListener): HyperTrack
Content copied to clipboard
Sets listener that will be notified when availability changes. See com.hypertrack.sdk.AvailabilityStateObserver.OnAvailabilityStateChangeListener Does nothing when invoked with null argument.
All listener methods will be called in the Main thread regardless of the thread this method was called in.
See also
Parameters
listener
that will be used to deliver notifications.