- e
- The event to initialize.
Initializes an Android.Views.Accessibility.AccessibilityEvent with information about this View which is the event source. In other words, the source of an accessibility event is the view whose state change triggered firing the event.
Example: Setting the password property of an event in addition to properties set by the super implementation:
java Example
public void onInitializeAccessibilityEvent(AccessibilityEvent event) { super.onInitializeAccessibilityEvent(event); event.setPassword(true); }
If an NoType:android/view/View$AccessibilityDelegate;Href=../../../reference/android/view/View.AccessibilityDelegate.html has been specified via calling View.SetAccessibilityDelegate(.AccessibilityDelegate) its NoType:android/view/View$AccessibilityDelegate;Href=../../../reference/android/view/View.AccessibilityDelegate.html#onInitializeAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent) is responsible for handling this call.
Note: Always call the super implementation before adding information to the event, in case the default implementation has basic information to add.