Related questions
Question 482 - H14-231_V1.0 discussion
Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?
A.
Bluetooth device scan can be initiated through the startBtDiscovery() interface
B.
Before starting Bluetooth scanning, you need to register to broadcast BluetoothRemoteDevice EVENT_DEVICE_DISCOVERED
C.
You can use the getLocalName() interface to check whether Bluetooth is turned on
D.
If you want to get the scanned device, you must inherit the onReceiveEvent(CommonEventData data) method that implements the ConmonEventSubscriber class when you register the broadcast, and receive the EVENT_DEVICE_DISCOVERED broadcast
Your answer:
0 comments
Sorted by
Leave a comment first