共用方式為


Intent.ActionUmsDisconnected Field

Definition

Caution

deprecated

Broadcast Action: The device has exited USB Mass Storage mode.

[Android.Runtime.Register("ACTION_UMS_DISCONNECTED")]
[System.Obsolete("deprecated")]
public const string ActionUmsDisconnected;
[<Android.Runtime.Register("ACTION_UMS_DISCONNECTED")>]
[<System.Obsolete("deprecated")>]
val mutable ActionUmsDisconnected : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: The device has exited USB Mass Storage mode. This is used mainly for the USB Settings panel. Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified when the SD card file system is mounted or unmounted

This member is deprecated. replaced by android.os.storage.StorageEventListener

Java documentation for android.content.Intent.ACTION_UMS_DISCONNECTED.

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