Share via


AccessibilityButtonController.RegisterAccessibilityButtonCallback Method

Definition

Overloads

RegisterAccessibilityButtonCallback(AccessibilityButtonController+AccessibilityButtonCallback)

Registers the provided AccessibilityButtonCallback for interaction and state changes callbacks related to the accessibility button.

RegisterAccessibilityButtonCallback(AccessibilityButtonController+AccessibilityButtonCallback, Handler)

Registers the provided AccessibilityButtonCallback for interaction and state changes callbacks related to the accessibility button.

RegisterAccessibilityButtonCallback(AccessibilityButtonController+AccessibilityButtonCallback)

Registers the provided AccessibilityButtonCallback for interaction and state changes callbacks related to the accessibility button.

[Android.Runtime.Register("registerAccessibilityButtonCallback", "(Landroid/accessibilityservice/AccessibilityButtonController$AccessibilityButtonCallback;)V", "", ApiSince=26)]
public void RegisterAccessibilityButtonCallback (Android.AccessibilityServices.AccessibilityButtonController.AccessibilityButtonCallback callback);
[<Android.Runtime.Register("registerAccessibilityButtonCallback", "(Landroid/accessibilityservice/AccessibilityButtonController$AccessibilityButtonCallback;)V", "", ApiSince=26)>]
member this.RegisterAccessibilityButtonCallback : Android.AccessibilityServices.AccessibilityButtonController.AccessibilityButtonCallback -> unit

Parameters

callback
AccessibilityButtonController.AccessibilityButtonCallback

the callback to add, must be non-null

Attributes

Remarks

Java documentation for android.accessibilityservice.AccessibilityButtonController.registerAccessibilityButtonCallback(android.accessibilityservice.AccessibilityButtonCallback).

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

RegisterAccessibilityButtonCallback(AccessibilityButtonController+AccessibilityButtonCallback, Handler)

Registers the provided AccessibilityButtonCallback for interaction and state changes callbacks related to the accessibility button.

[Android.Runtime.Register("registerAccessibilityButtonCallback", "(Landroid/accessibilityservice/AccessibilityButtonController$AccessibilityButtonCallback;Landroid/os/Handler;)V", "", ApiSince=26)]
public void RegisterAccessibilityButtonCallback (Android.AccessibilityServices.AccessibilityButtonController.AccessibilityButtonCallback callback, Android.OS.Handler handler);
[<Android.Runtime.Register("registerAccessibilityButtonCallback", "(Landroid/accessibilityservice/AccessibilityButtonController$AccessibilityButtonCallback;Landroid/os/Handler;)V", "", ApiSince=26)>]
member this.RegisterAccessibilityButtonCallback : Android.AccessibilityServices.AccessibilityButtonController.AccessibilityButtonCallback * Android.OS.Handler -> unit

Parameters

callback
AccessibilityButtonController.AccessibilityButtonCallback

the callback to add, must be non-null

handler
Handler
Attributes

Remarks

Java documentation for android.accessibilityservice.AccessibilityButtonController.registerAccessibilityButtonCallback(android.accessibilityservice.AccessibilityButtonCallback).

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