Megosztás a következőn keresztül:


Activity.OnWindowStartingActionMode Method

Definition

Overloads

OnWindowStartingActionMode(ActionMode+ICallback)

Give the Activity a chance to control the UI for an action mode requested by the system.

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

Give the Activity a chance to control the UI for an action mode requested by the system.

OnWindowStartingActionMode(ActionMode+ICallback)

Give the Activity a chance to control the UI for an action mode requested by the system.

[Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_Handler")]
public virtual 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")>]
abstract member OnWindowStartingActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode
override this.OnWindowStartingActionMode : Android.Views.ActionMode.ICallback -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

The callback that should control the new action mode

Returns

The new action mode, or <code>null</code> if the activity does not want to provide special handling for this action mode. (It will be handled by the system.)

Implements

Attributes

Remarks

Java documentation for android.app.Activity.onWindowStartingActionMode(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

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

Give the Activity a chance to control the UI for an action mode requested by the system.

[Android.Runtime.Register("onWindowStartingActionMode", "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;", "GetOnWindowStartingActionMode_Landroid_view_ActionMode_Callback_IHandler", ApiSince=23)]
public virtual 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", ApiSince=23)>]
abstract member OnWindowStartingActionMode : Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode
override this.OnWindowStartingActionMode : Android.Views.ActionMode.ICallback * Android.Views.ActionModeType -> Android.Views.ActionMode

Parameters

callback
ActionMode.ICallback

The callback that should control the new action mode

Returns

The new action mode, or <code>null</code> if the activity does not want to provide special handling for this action mode. (It will be handled by the system.)

Implements

Attributes

Remarks

Java documentation for android.app.Activity.onWindowStartingActionMode(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