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.

C#
[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);

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35

StartActionMode(ActionMode+ICallback, ActionModeType)

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

C#
[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);

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35