Created
November 24, 2014 16:58
-
-
Save CHLibrarian/caaef7caa751977ddd13 to your computer and use it in GitHub Desktop.
ContextHub Element Services Beacon Retrieve ID (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 a beacon with a specific ID | |
BeaconProxy proxy = new BeaconProxy(); | |
proxy.getBeacon(1000, new Callback<Beacon> { | |
@Override | |
public void onSuccess(Beacon result) { | |
Log.d(TAG, beacon.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