The unsubscribe method allows the application to remove the existing subscription from server. The device application must already have a subscription with the server.
On success, 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.
On failure, the client application receives subscription request result notification from server as notification with a failure message.
[SampleApp_SampleAppDB unsubscribe];