Android/Fire OS
- You can optionally set a callback when calling the
initmethod - This callback will receive the initial service state after initialization
- To check the service state later, the user must call the
statemethod manually
Windows
- You can set callbacks for service availability:
MassiveSetServiceUnavailableCallback(when the service becomes unavailable)MassiveSetServiceAvailableCallback(when the service becomes available)
- You can also set callbacks to track service start/stop events triggered from the service UI instead of the app UI:
MassiveStartedViaTaskbarCallback(when started from the service UI)MassiveStoppedViaTaskbarCallback(when stopped from the service UI)
iOS
- You must set a callback when calling the
initAsyncmethod. - This callback will receive the initial service state after initialization.
- To check the service state later, the user must call the
getStatusmethod manually.