Android.AccessibilityServices.AccessibilityService.ServiceMetaData Field
Name under which an AccessibilityService component publishes information about itself.

Syntax

[Android.Runtime.Register("SERVICE_META_DATA")]
public const string ServiceMetaData

Remarks

Name under which an AccessibilityService component publishes information about itself. This meta-data must reference an XML resource containing an <NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#AccessibilityService> tag. This is a a sample XML file configuring an accessibility service:

xml Example

 <accessibility-service
     android:accessibilityEventTypes="typeViewClicked|typeViewFocused"
     android:packageNames="foo.bar, foo.baz"
     android:accessibilityFeedbackType="feedbackSpoken"
     android:notificationTimeout="100"
     android:accessibilityFlags="flagDefault"
     android:settingsActivity="foo.bar.TestBackActivity"
     android:canRetrieveWindowContent="true"
     android:canRequestTouchExplorationMode="true"
     android:canRequestEnhancedWebAccessibility="true"
     . . .
 />

[Android Documentation]

Requirements

Namespace: Android.AccessibilityServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14