BluetoothHidDeviceAppSdpSettings.GetDescriptors 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.
Gets the HID descriptor bytes stored for the SDP record.
[Android.Runtime.Register("getDescriptors", "()[B", "", ApiSince=28)]
public byte[]? GetDescriptors();
[<Android.Runtime.Register("getDescriptors", "()[B", "", ApiSince=28)>]
member this.GetDescriptors : unit -> byte[]
Returns
A managed copy of the stored HID descriptor bytes.
- Attributes
Remarks
The constructor stores a copy of the supplied descriptor bytes. JNI marshaling copies the Java array into a managed array when this method returns. Changes to the returned array do not change the stored SDP descriptors.