StructTimeval.ToMillis Method
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.
Converts this value to milliseconds.
[Android.Runtime.Register("toMillis", "()J", "", ApiSince=29)]
public long ToMillis();
[<Android.Runtime.Register("toMillis", "()J", "", ApiSince=29)>]
member this.ToMillis : unit -> int64
Returns
The seconds component multiplied by 1,000 plus the microseconds component divided by 1,000 using integer division; sub-millisecond microseconds are truncated.
- Attributes
Remarks
AOSP source for StructTimeval.toMillis().
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 Apache License 2.0.