onStatusChanged method

void onStatusChanged(
  1. String status,
  2. int timestamp
)

Event handler called when the server notifies that an MPN device changed its status.

Note that in some server clustering configurations the status change for the MPN device suspend event may not be called.

  • status The new status of the MPN device. It can be one of the following:
  • UNKNOWN
  • REGISTERED
  • SUSPENDED
- [timestamp] The server-side timestamp of the new device status.

Implementation

void onStatusChanged(String status, int timestamp) {}