次の方法で共有


BluetoothHidDeviceAppSdpSettings Constructor

Definition

Create a BluetoothHidDeviceAppSdpSettings object for the Bluetooth SDP record.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;B[B)V", "", ApiSince=28)]
public BluetoothHidDeviceAppSdpSettings (string? name, string? description, string? provider, sbyte subclass, byte[]? descriptors);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;B[B)V", "", ApiSince=28)>]
new Android.Bluetooth.BluetoothHidDeviceAppSdpSettings : string * string * string * sbyte * byte[] -> Android.Bluetooth.BluetoothHidDeviceAppSdpSettings

Parameters

name
String

Name of this Bluetooth HID device. Maximum length is 50 bytes.

description
String

Description for this Bluetooth HID device. Maximum length is 50 bytes.

provider
String

Provider of this Bluetooth HID device. Maximum length is 50 bytes.

subclass
SByte

Subclass of this Bluetooth HID device. See www.usb.org/developers/hidpage/HID1_11.pdf Section 4.2

descriptors
Byte[]

Descriptors of this Bluetooth HID device. See www.usb.org/developers/hidpage/HID1_11.pdf Chapter 6 Maximum length is 2048 bytes.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothHidDeviceAppSdpSettings.BluetoothHidDeviceAppSdpSettings(java.lang.String, java.lang.String, java.lang.String, byte, 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