subscribe To Errors
final static HyperTrack.Cancellable subscribeToErrors(Function1<Set<HyperTrack.Error>, Unit> callback)
Content copied to clipboard
Subscribe to the changes in the errors property (that indicates errors that can prevent the app from successfully tracking)
Note: The
callbackis called immediately after subscribing with the initial value, and then each time the value changes.
Return
an HyperTrack.Cancellable object that can be used to unsubscribe from the event
Parameters
callback
callback function to invoke when there are tracking errors