unsubscribeMpn method

void unsubscribeMpn(
  1. MpnSubscription sub
)

Operation method that unsubscribes an MpnSubscription from the server's MPN Module.

This operation removes the MpnSubscription from the list of "active" subscriptions.

General Edition Note MPN is an optional feature, available depending on Edition and License Type. To know what features are enabled by your license, please see the License tab of the Monitoring Dashboard (by default, available at /dashboard).

Lifecycle An MpnSubscription can be unsubscribed from at any time. Once done the MpnSubscription immediately exits the "active" state.
Note that forwarding of the unsubscription to the server is made in a separate thread.
The unsubscription will be notified through an MpnSubscriptionListener.onUnsubscription event.

  • sub An "active" MpnSubscription object.

Throws IllegalStateException if the given MPN subscription is not active.

Throws IllegalStateException if there is no MPN device registered.

Implementation

external void unsubscribeMpn(MpnSubscription sub);