AccessibilityService.OnServiceConnected 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.
This method is a part of the AccessibilityService
lifecycle and is
called after the system has successfully bound to the service.
[Android.Runtime.Register("onServiceConnected", "()V", "GetOnServiceConnectedHandler")]
protected virtual void OnServiceConnected ();
[<Android.Runtime.Register("onServiceConnected", "()V", "GetOnServiceConnectedHandler")>]
abstract member OnServiceConnected : unit -> unit
override this.OnServiceConnected : unit -> unit
- Attributes
Remarks
This method is a part of the AccessibilityService
lifecycle and is called after the system has successfully bound to the service. If is convenient to use this method for setting the AccessibilityServiceInfo
.
Java documentation for android.accessibilityservice.AccessibilityService.onServiceConnected()
.
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.