Compartir a través de


UsbInterface.AlternateSetting Property

Definition

Returns the interface's bAlternateSetting field.

public virtual int AlternateSetting { [Android.Runtime.Register("getAlternateSetting", "()I", "GetGetAlternateSettingHandler")] get; }
[<get: Android.Runtime.Register("getAlternateSetting", "()I", "GetGetAlternateSettingHandler")>]
member this.AlternateSetting : int

Property Value

the interface's alternate setting

Attributes

Remarks

Returns the interface's bAlternateSetting field. This is an integer that along with the ID uniquely identifies the interface on the device. UsbDeviceConnection#setInterface can be used to switch between two interfaces with the same ID but different alternate setting.

Java documentation for android.hardware.usb.UsbInterface.getAlternateSetting().

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