Share via


ActionMode.Hide(Int64) Method

Definition

Hide the action mode view from obstructing the content below for a short duration.

[Android.Runtime.Register("hide", "(J)V", "GetHide_JHandler", ApiSince=23)]
public virtual void Hide (long duration);
[<Android.Runtime.Register("hide", "(J)V", "GetHide_JHandler", ApiSince=23)>]
abstract member Hide : int64 -> unit
override this.Hide : int64 -> unit

Parameters

duration
Int64

The number of milliseconds to hide for.

Attributes

Remarks

Hide the action mode view from obstructing the content below for a short duration. This only makes sense for action modes that support dynamic positioning on the screen. If this method is called again before the hide duration expires, the later hide call will cancel the former and then take effect. NOTE that there is an internal limit to how long the mode can be hidden for. It's typically about a few seconds.

Java documentation for android.view.ActionMode.hide(long).

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