AccessibilityButtonController.AccessibilityButtonCallback.OnAvailabilityChanged 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.
Called when the availability of the accessibility button in the system's navigation area has changed.
[Android.Runtime.Register("onAvailabilityChanged", "(Landroid/accessibilityservice/AccessibilityButtonController;Z)V", "GetOnAvailabilityChanged_Landroid_accessibilityservice_AccessibilityButtonController_ZHandler", ApiSince=26)]
public virtual void OnAvailabilityChanged (Android.AccessibilityServices.AccessibilityButtonController? controller, bool available);
[<Android.Runtime.Register("onAvailabilityChanged", "(Landroid/accessibilityservice/AccessibilityButtonController;Z)V", "GetOnAvailabilityChanged_Landroid_accessibilityservice_AccessibilityButtonController_ZHandler", ApiSince=26)>]
abstract member OnAvailabilityChanged : Android.AccessibilityServices.AccessibilityButtonController * bool -> unit
override this.OnAvailabilityChanged : Android.AccessibilityServices.AccessibilityButtonController * bool -> unit
Parameters
- controller
- AccessibilityButtonController
the controller used to register for this callback
- available
- Boolean
true
if the accessibility button is available to this
service, false
otherwise
- Attributes
Remarks
Called when the availability of the accessibility button in the system's navigation area has changed. The accessibility button may become unavailable because the device shopped showing the button, the button was assigned to another service, or for other reasons.
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.