BluetoothHidDevice.Callback.OnSetProtocol(BluetoothDevice, SByte) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Callback called when SET_PROTOCOL is received from remote host.
[Android.Runtime.Register("onSetProtocol", "(Landroid/bluetooth/BluetoothDevice;B)V", "GetOnSetProtocol_Landroid_bluetooth_BluetoothDevice_BHandler", ApiSince=28)]
public virtual void OnSetProtocol (Android.Bluetooth.BluetoothDevice? device, sbyte protocol);
[<Android.Runtime.Register("onSetProtocol", "(Landroid/bluetooth/BluetoothDevice;B)V", "GetOnSetProtocol_Landroid_bluetooth_BluetoothDevice_BHandler", ApiSince=28)>]
abstract member OnSetProtocol : Android.Bluetooth.BluetoothDevice * sbyte -> unit
override this.OnSetProtocol : Android.Bluetooth.BluetoothDevice * sbyte -> unit
Parameters
- device
- BluetoothDevice
- protocol
- SByte
Protocol Mode.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.