共用方式為


Activity.OnActionModeStarted(ActionMode) Method

Definition

Notifies the Activity that an action mode has been started.

[Android.Runtime.Register("onActionModeStarted", "(Landroid/view/ActionMode;)V", "GetOnActionModeStarted_Landroid_view_ActionMode_Handler")]
public virtual void OnActionModeStarted (Android.Views.ActionMode? mode);
[<Android.Runtime.Register("onActionModeStarted", "(Landroid/view/ActionMode;)V", "GetOnActionModeStarted_Landroid_view_ActionMode_Handler")>]
abstract member OnActionModeStarted : Android.Views.ActionMode -> unit
override this.OnActionModeStarted : Android.Views.ActionMode -> unit

Parameters

mode
ActionMode

The new action mode.

Implements

Attributes

Remarks

Notifies the Activity that an action mode has been started. Activity subclasses overriding this method should call the superclass implementation.

Java documentation for android.app.Activity.onActionModeStarted(android.view.ActionMode).

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