Language

Window.ICallback.OnWindowStartingActionMode Method

Definition

Overloads

Name Description
OnWindowStartingActionMode(ActionMode+ICallback)

Called when an action mode is being started for this window.

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

Lets the window create an action mode for the supplied callback and mode type.

OnWindowStartingActionMode(ActionMode+ICallback)

Called when an action mode is being started for this window.

[Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.ActionMode OnWindowStartingActionMode(Android.Views.ActionMode.ICallback callback);
[<Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnWindowStartingActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

Callback to control the lifecycle of this action mode

Returns

The ActionMode that was started, or null if the system should present it

Attributes

Remarks

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

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

Lets the window create an action mode for the supplied callback and mode type.

[Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_IHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public Android.Views.ActionMode OnWindowStartingActionMode(Android.Views.ActionMode.ICallback callback, Android.Views.ActionModeType type);
[<Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_IHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnWindowStartingActionMode : Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

Callback to control the lifecycle of this action mode

type
ActionModeType

One of Primary or Floating.

Returns

The ActionMode that was started, or null if the system should present it

Attributes

Remarks

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