unsubscribe

Removes an existing subscription to a server package. An unsubscription message is sent to the Unwired Server and the application receives a subscription request result notification from the Unwired Server as a notification. The data on the local database is cleaned. If the unsubscribe succeeds, the onSubscribeSuccess method of the CallbackHandler is invoked. If it fails, the onSubscribeFailure method of the CallbackHandler is invoked.

The device application must already have a subscription with the server.

Syntax

+(void) unsubscribe

Parameters

Returns

None.

Examples