AccessibilityService.GetTouchInteractionController(Int32) 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.
Returns the touch interaction controller for the specified logical display, which may be used to detect gestures and otherwise control touch interactions.
[Android.Runtime.Register("getTouchInteractionController", "(I)Landroid/accessibilityservice/TouchInteractionController;", "", ApiSince=33)]
public Android.AccessibilityServices.TouchInteractionController GetTouchInteractionController (int displayId);
[<Android.Runtime.Register("getTouchInteractionController", "(I)Landroid/accessibilityservice/TouchInteractionController;", "", ApiSince=33)>]
member this.GetTouchInteractionController : int -> Android.AccessibilityServices.TouchInteractionController
Parameters
- displayId
- Int32
The logical display id, use Display#DEFAULT_DISPLAY
for default
display.
Returns
the TouchExploration controller
- Attributes
Remarks
Returns the touch interaction controller for the specified logical display, which may be used to detect gestures and otherwise control touch interactions. If AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE
is disabled the controller's methods will have no effect.
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.