共用方式為


PackageManager.FeatureUsbAccessory Field

Definition

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports connecting to USB accessories.

[Android.Runtime.Register("FEATURE_USB_ACCESSORY")]
public const string FeatureUsbAccessory;
[<Android.Runtime.Register("FEATURE_USB_ACCESSORY")>]
val mutable FeatureUsbAccessory : string

Field Value

Attributes

Remarks

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports connecting to USB accessories.

Java documentation for android.content.pm.PackageManager.FEATURE_USB_ACCESSORY.

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