Unsubscribe Data

If the client does not require the subscribed data, it can send an unsubscribe request to remove it. The following example shows how to notify the server to remove a subscription so it does not have to push to the application/device any longer.

SampleAppDB.Unsubscribe()

Calling to CleanAllData() also cleans up all data on the local database.

SampleAppDB.CleanAllData();