Compartilhar via


AccessibilityNodeInfo.SetCanOpenPopup(Boolean) Method

Definition

Sets if this node opens a popup or a dialog.

[Android.Runtime.Register("setCanOpenPopup", "(Z)V", "GetSetCanOpenPopup_ZHandler")]
public virtual void SetCanOpenPopup (bool opensPopup);
[<Android.Runtime.Register("setCanOpenPopup", "(Z)V", "GetSetCanOpenPopup_ZHandler")>]
abstract member SetCanOpenPopup : bool -> unit
override this.SetCanOpenPopup : bool -> unit

Parameters

opensPopup
Boolean

If the the node opens a popup.

Attributes

Remarks

Sets if this node opens a popup or a dialog.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setCanOpenPopup(boolean).

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