Walkthrough of using Google's Proximity Beacon API to provision and manage BLE beacons, coupling that with the client-side Nearby Messages API to enhance beacon message contents.
a new message is discovered nearby. @Override public void onFound(Message message) { Log.i(TAG, "Found message: " + message); } // Called when the publisher (beacon) is no longer nearby. @Override public void onLost(Message message) { Log.i(TAG, "Lost message: " + message); } };
a new message is discovered nearby. @Override public void onFound(Message message) { Log.i(TAG, "Found message: " + message); } // Called when the publisher (beacon) is no longer nearby. @Override public void onLost(Message message) { Log.i(TAG, "Lost message: " + message); } }; CALLBACKS NOT ON MAIN THREAD