AccessibilityNodeProvider.PerformAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PerformAction(Int32, GlobalAction, Bundle) |
Performs an accessibility action on a virtual view, i.e. a descendant of the
host View, with the given |
PerformAction(Int32, Action, Bundle) |
Performs an accessibility action on a virtual view, such as a descendant of the
host View, with the given |
PerformAction(Int32, GlobalAction, Bundle)
Performs an accessibility action on a virtual view, i.e. a descendant of the
host View, with the given virtualViewId
or the host View itself
if virtualViewId
equals to HostViewId.
public bool PerformAction (int virtualViewId, Android.AccessibilityServices.GlobalAction action, Android.OS.Bundle arguments);
member this.PerformAction : int * Android.AccessibilityServices.GlobalAction * Android.OS.Bundle -> bool
Parameters
- virtualViewId
- Int32
A client defined virtual view id.
- action
- GlobalAction
The action to perform.
- arguments
- Bundle
Optional action arguments.
Returns
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.
See also
- <xref:Android.Views.View.PerformAccessibilityAction(Android.AccessibilityServices.GlobalAction%2c+Android.OS.Bundle)>
- CreateAccessibilityNodeInfo(Int32)
- AccessibilityNodeInfo
Applies to
PerformAction(Int32, Action, Bundle)
Performs an accessibility action on a virtual view, such as a descendant of the
host View, with the given virtualViewId
or the host View itself
if virtualViewId
equals to #HOST_VIEW_ID
.
[Android.Runtime.Register("performAction", "(IILandroid/os/Bundle;)Z", "GetPerformAction_IILandroid_os_Bundle_Handler")]
public virtual bool PerformAction (int virtualViewId, Android.Views.Accessibility.Action action, Android.OS.Bundle? arguments);
[<Android.Runtime.Register("performAction", "(IILandroid/os/Bundle;)Z", "GetPerformAction_IILandroid_os_Bundle_Handler")>]
abstract member PerformAction : int * Android.Views.Accessibility.Action * Android.OS.Bundle -> bool
override this.PerformAction : int * Android.Views.Accessibility.Action * Android.OS.Bundle -> bool
Parameters
- virtualViewId
- Int32
A client defined virtual view id.
- action
- Action
The action to perform.
- arguments
- Bundle
Optional action arguments.
Returns
True if the action was performed.
- Attributes
Remarks
Performs an accessibility action on a virtual view, such as a descendant of the host View, with the given virtualViewId
or the host View itself if virtualViewId
equals to #HOST_VIEW_ID
.
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.