Udostępnij za pośrednictwem


UiAutomation.ServiceInfo Property

Definition

Gets the an AccessibilityServiceInfo describing this UiAutomation. -or- Sets the AccessibilityServiceInfo that describes how this UiAutomation will be handled by the platform accessibility layer.

public Android.AccessibilityServices.AccessibilityServiceInfo? ServiceInfo { [Android.Runtime.Register("getServiceInfo", "()Landroid/accessibilityservice/AccessibilityServiceInfo;", "")] get; [Android.Runtime.Register("setServiceInfo", "(Landroid/accessibilityservice/AccessibilityServiceInfo;)V", "")] set; }
[<get: Android.Runtime.Register("getServiceInfo", "()Landroid/accessibilityservice/AccessibilityServiceInfo;", "")>]
[<set: Android.Runtime.Register("setServiceInfo", "(Landroid/accessibilityservice/AccessibilityServiceInfo;)V", "")>]
member this.ServiceInfo : Android.AccessibilityServices.AccessibilityServiceInfo with get, set

Property Value

The accessibility service info.

Attributes

Remarks

Property getter documentation:

Gets the an AccessibilityServiceInfo describing this UiAutomation. This method is useful if one wants to change some of the dynamically configurable properties at runtime.

Java documentation for android.app.UiAutomation.getServiceInfo().

Property setter documentation:

Sets the AccessibilityServiceInfo that describes how this UiAutomation will be handled by the platform accessibility layer.

Java documentation for android.app.UiAutomation.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

See also