Skip to content

BlueToothHelper

Pico edited this page May 18, 2020 · 7 revisions

void registerBlueToothReceiver()

Register the receiver for bluetooth status broadcast.


void unregisterBlueToothReceiver()

Unregister the receiver for bluetooth status broadcast.


String getContentDevice()

Get the name of connected bluetooth device.
return:
name of connected bluetooth.


String getBlueToothMac() (*)

Get MAC address of connected bluetooth.
return:
bluetooth MAC address, e.g. 22:22:86:2A:22:E7


Clone this wiki locally