// For Metadata
boolean registerMetadataListener(in IBluetoothMetadataListener listener, in BluetoothDevice device);
boolean unregisterMetadataListener(in BluetoothDevice device);
- boolean setMetadata(in BluetoothDevice device, in int key, in String value);
- String getMetadata(in BluetoothDevice device, in int key);
+ boolean setMetadata(in BluetoothDevice device, in int key, in byte[] value);
+ byte[] getMetadata(in BluetoothDevice device, in int key);
/**
* @hide
*/
oneway interface IBluetoothMetadataListener {
- void onMetadataChanged(in BluetoothDevice devices, in int key, in String value);
+ void onMetadataChanged(in BluetoothDevice devices, in int key, in byte[] value);
}