BluetoothHidDevice.Callback.OnSetProtocol(BluetoothDevice, SByte) Method

Definition

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

protocol
SByte

Protocol Mode.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothHidDevice.Callback.onSetProtocol(android.bluetooth.BluetoothDevice, byte).

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.

Applies to