Share via


AccessibilityNodeInfo.MinDurationBetweenContentChanges Property

Definition

Gets the minimum time duration between two content change events. -or- Sets the minimum time duration between two content change events, which is used in throttling content change events in accessibility services.

public virtual Java.Time.Duration MinDurationBetweenContentChanges { [Android.Runtime.Register("getMinDurationBetweenContentChanges", "()Ljava/time/Duration;", "GetGetMinDurationBetweenContentChangesHandler", ApiSince=34)] get; [Android.Runtime.Register("setMinDurationBetweenContentChanges", "(Ljava/time/Duration;)V", "GetSetMinDurationBetweenContentChanges_Ljava_time_Duration_Handler", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getMinDurationBetweenContentChanges", "()Ljava/time/Duration;", "GetGetMinDurationBetweenContentChangesHandler", ApiSince=34)>]
[<set: Android.Runtime.Register("setMinDurationBetweenContentChanges", "(Ljava/time/Duration;)V", "GetSetMinDurationBetweenContentChanges_Ljava_time_Duration_Handler", ApiSince=34)>]
member this.MinDurationBetweenContentChanges : Java.Time.Duration with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Gets the minimum time duration between two content change events.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.getMinDurationBetweenContentChanges().

Property setter documentation:

Sets the minimum time duration between two content change events, which is used in throttling content change events in accessibility services.

Example: An app can set MinMillisBetweenContentChanges as 1 min for a view which sends content change events to accessibility services one event per second. Accessibility service will throttle those content change events and only handle one event per minute for that view.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setMinDurationBetweenContentChanges(java.time.Duration).

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