0

I have subscribed for BLE device using Nearby.Messages.subscribe method.I will get a callback on MessageListener's onFound(Message message) method.But how to extract Eddystone UUID(Namspace and Instance ID) from Message object

vicky
  • 340
  • 5
  • 13

1 Answers1

0

See Nearby Messages documentation here https://developers.google.com/nearby/messages/android/advanced#ble_beacon_ids

Tony Tran
  • 234
  • 1
  • 5
  • Thankyou Tony, In the document they have mentioned that to fetch Eddystone UUID you need to add MessageFilter and you have to define EDDYSTONE_UID_NAMESPACE.Is there any other method with out mentioning EDDYSTONE_UID_NAMESPACE.Because i could see the Eddystone UUID without MessageFilter in the Message object. – vicky Oct 30 '16 at 12:18
  • To answer your original question, does the following work? EddystoneUid eddystoneUid = EddystoneUid.from(message); – Tony Tran Dec 04 '16 at 03:42