Partager via


AccessibilityEvent.EventTime Property

Definition

Gets the time in which this event was sent. -or- Sets the time in which this event was sent.

public long EventTime { [Android.Runtime.Register("getEventTime", "()J", "")] get; [Android.Runtime.Register("setEventTime", "(J)V", "")] set; }
[<get: Android.Runtime.Register("getEventTime", "()J", "")>]
[<set: Android.Runtime.Register("setEventTime", "(J)V", "")>]
member this.EventTime : int64 with get, set

Property Value

The event time.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the time in which this event was sent.

Java documentation for android.view.accessibility.AccessibilityEvent.getEventTime().

Property setter documentation:

Sets the time in which this event was sent.

Java documentation for android.view.accessibility.AccessibilityEvent.setEventTime(long).

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