Share via


Activity.StartActionMode Method

Definition

Overloads

StartActionMode(ActionMode+ICallback)

Start an action mode of the default type ActionMode#TYPE_PRIMARY.

StartActionMode(ActionMode+ICallback, ActionModeType)

Start an action mode of the default type ActionMode#TYPE_PRIMARY.

StartActionMode(ActionMode+ICallback)

Start an action mode of the default type ActionMode#TYPE_PRIMARY.

[Android.Runtime.Register("startActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetStartActionMode_Landroid_view_ActionMode_Callback_Handler")]
public virtual Android.Views.ActionMode? StartActionMode (Android.Views.ActionMode.ICallback? callback);
[<Android.Runtime.Register("startActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetStartActionMode_Landroid_view_ActionMode_Callback_Handler")>]
abstract member StartActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode
override this.StartActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

Callback that will manage lifecycle events for this action mode

Returns

The ActionMode that was started, or null if it was canceled

Attributes

Remarks

Java documentation for android.app.Activity.startActionMode(android.view.Callback).

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.

See also

Applies to

StartActionMode(ActionMode+ICallback, ActionModeType)

Start an action mode of the default type ActionMode#TYPE_PRIMARY.

[Android.Runtime.Register("startActionMode", "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetStartActionMode_Landroid_view_ActionMode_Callback_IHandler", ApiSince=23)]
public virtual Android.Views.ActionMode? StartActionMode (Android.Views.ActionMode.ICallback? callback, Android.Views.ActionModeType type);
[<Android.Runtime.Register("startActionMode", "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetStartActionMode_Landroid_view_ActionMode_Callback_IHandler", ApiSince=23)>]
abstract member StartActionMode : Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode
override this.StartActionMode : Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

Callback that will manage lifecycle events for this action mode

Returns

The ActionMode that was started, or null if it was canceled

Attributes

Remarks

Java documentation for android.app.Activity.startActionMode(android.view.Callback).

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