AccessibilityService.SetServiceInfo(AccessibilityServiceInfo) Method

Definition

Sets the AccessibilityServiceInfo that describes this service.

[Android.Runtime.Register("setServiceInfo", "(Landroid/accessibilityservice/AccessibilityServiceInfo;)V", "")]
public void SetServiceInfo (Android.AccessibilityServices.AccessibilityServiceInfo? info);
[<Android.Runtime.Register("setServiceInfo", "(Landroid/accessibilityservice/AccessibilityServiceInfo;)V", "")>]
member this.SetServiceInfo : Android.AccessibilityServices.AccessibilityServiceInfo -> unit

Parameters

info
AccessibilityServiceInfo

The info.

Attributes

Remarks

Sets the AccessibilityServiceInfo that describes this service.

Note: You can call this method any time but the info will be picked up after the system has bound to this service and when this method is called thereafter.

Java documentation for android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

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