Share via


Intent.ActionDockEvent Field

Definition

Broadcast Action: A sticky broadcast for changes in the physical docking state of the device.

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: A sticky broadcast for changes in the physical docking state of the device.

The intent will have the following extra values: <ul> <li><em>#EXTRA_DOCK_STATE</em> - the current dock state, indicating which dock the device is physically in.</li> </ul>

This is intended for monitoring the current physical dock state. See android.app.UiModeManager for the normal API dealing with dock mode changes.

Java documentation for android.content.Intent.ACTION_DOCK_EVENT.

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