public override void SendAccessibilityEvent(EventTypes eventType) { base.SendAccessibilityEvent(eventType); AccessibilityManager manager = (AccessibilityManager)Context.GetSystemService(Context.AccessibilityService); if (!manager.IsEnabled) { return; } switch (eventType) { case EventTypes.ViewAccessibilityFocused: manager.Interrupt(); AccessibilityFocused?.Invoke(this, EventArgs.Empty); break; default: break; } }
public override void AccessibilityElementDidBecomeFocused() { base.AccessibilityElementDidBecomeFocused(); AccessibilityFocused?.Invoke(this, EventArgs.Empty); }
internal void InvokeAccessibilityFocused() { AccessibilityFocused?.Invoke(this, EventArgs.Empty); }