Reputation: 9
My setup is having 2 device connected.While i am disabling PBAP access from one of the device , on receive of android.bluetooth.pbapclient.profile.action.CONNECTION_STATE_CHANGED how to know that status is changed for which Device ?
val mBluetoothManager = context.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager val connectedState = mBluetoothManager.getConnectionState(device, BluetoothProfile.PBAP )
Upvotes: 0
Views: 125