次の方法で共有


UsbAccessory.Version Property

Definition

Returns the version of the accessory.

public virtual string? Version { [Android.Runtime.Register("getVersion", "()Ljava/lang/String;", "GetGetVersionHandler")] get; }
[<get: Android.Runtime.Register("getVersion", "()Ljava/lang/String;", "GetGetVersionHandler")>]
member this.Version : string

Property Value

the accessory version, or null if not set

Attributes

Remarks

Returns the version of the accessory.

Java documentation for android.hardware.usb.UsbAccessory.getVersion().

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