Created
November 24, 2014 19:46
-
-
Save CHLibrarian/3790cd3661e22fe0feb8 to your computer and use it in GitHub Desktop.
ContextHub Element Services Subscription Retrieve (Android)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Getting tag subscriptions | |
SubscriptionProxy proxy = new SubscriptionProxy(); | |
proxy.listSubscriptions(new Callback<SubscriptionResponse>() { | |
@Override | |
public void onSuccess(SubscriptionResponse result) { | |
Log.d(TAG, result.getBeaconSubscription().toString()); | |
Log.d(TAG, result.getGeofenceSubscription().toString()); | |
Log.d(TAG, result.getVaultSubscription().toString()); | |
} | |
@Override | |
public void onFailure(Exception e) { | |
Log.d(TAG, e.getMessage()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment