SensorEvent.Timestamp Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The time in nanoseconds at which the event happened.
[Android.Runtime.Register("timestamp")]
public long Timestamp { get; set; }
[<Android.Runtime.Register("timestamp")>]
member this.Timestamp : int64 with get, set
Property Value
- Attributes
Remarks
The time in nanoseconds at which the event happened. For a given sensor, each new sensor event should be monotonically increasing using the same time base as android.os.SystemClock#elapsedRealtimeNanos()
.
Java documentation for android.hardware.SensorEvent.timestamp
.
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.