AccessibilityServiceInfo.NotificationTimeout Property

Definition

The timeout, in milliseconds, after the most recent event of a given type before an AccessibilityService is notified.

[Android.Runtime.Register("notificationTimeout")]
public long NotificationTimeout { get; set; }
[<Android.Runtime.Register("notificationTimeout")>]
member this.NotificationTimeout : int64 with get, set

Property Value

Attributes

Remarks

The timeout, in milliseconds, after the most recent event of a given type before an AccessibilityService is notified.

<strong>Can be dynamically set at runtime.</strong>

<strong>Note:</strong> The event notification timeout is useful to avoid propagating events to the client too frequently since this is accomplished via an expensive interprocess call. One can think of the timeout as a criteria to determine when event generation has settled down.

Java documentation for android.accessibilityservice.AccessibilityServiceInfo.notificationTimeout.

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