Can I get the source name? #461
-
I would like to show on a screen the name of the source of the bluetooth transmission, such as "John's Cell Phone" or "Mary's iPhone". Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes it is. |
Beta Was this translation helpful? Give feedback.
-
Oh, thanks!
When I try to compile it gives this error: 'class BluetoothA2DPSink' has no member named 'get_peer_name' |
Beta Was this translation helpful? Give feedback.
-
get_connected_source_name() should work with your release. |
Beta Was this translation helpful? Give feedback.
Yes it is.
I suggest you go thru the available method names in the class documentation. Hint search for name