unregisterApplication(int timeout)

Delete the registration for this application, and stop the connection. If no registration was previously created, or a previous registration was already deleted, then this operation has no effect. You can set the applicationCallback before calling this operation to receive asynchronous notification of registration status changes.

If a callback handler is registered and network connectivity is available, the sequence of callbacks as a result of calling unregisterApplication should be:

If a callback handler is registered and network connectivity is unavailable, the sequence of callbacks as a result of calling unregisterApplication should be:

Syntax

unregisterApplication(int timeout)

Parameters

Examples