Sdílet prostřednictvím


View.StartActionMode Method

Definition

Overloads

StartActionMode(ActionMode+ICallback)

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

StartActionMode(ActionMode+ICallback, ActionModeType)

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

StartActionMode(ActionMode+ICallback)

Start an action mode with 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 control the lifecycle of the action mode

Returns

The new action mode if it is started, null otherwise

Attributes

Remarks

Java documentation for android.view.View.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

  • ActionMode
  • <xref:Android.Views.View.StartActionMode(.ICallback%2c+Android.Views.ActionModeType)>

Applies to

StartActionMode(ActionMode+ICallback, ActionModeType)

Start an action mode with 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 control the lifecycle of the action mode

Returns

The new action mode if it is started, null otherwise

Attributes

Remarks

Java documentation for android.view.View.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