Sdílet prostřednictvím


UsbDeviceConnection.GetRawDescriptors Method

Definition

Returns the raw USB descriptors for the device.

[Android.Runtime.Register("getRawDescriptors", "()[B", "GetGetRawDescriptorsHandler")]
public virtual byte[]? GetRawDescriptors ();
[<Android.Runtime.Register("getRawDescriptors", "()[B", "GetGetRawDescriptorsHandler")>]
abstract member GetRawDescriptors : unit -> byte[]
override this.GetRawDescriptors : unit -> byte[]

Returns

Byte[]

raw USB descriptors

Attributes

Remarks

Returns the raw USB descriptors for the device. This can be used to access descriptors not supported directly via the higher level APIs.

Java documentation for android.hardware.usb.UsbDeviceConnection.getRawDescriptors().

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