StructTimeval.ToMillis Method

Definition

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.

Applies to