Język

RangingResult.Builder.SetRangingTimestampMillis(Int64) Method

Definition

Sets the time stamp at which the ranging operation was performed.

[Android.Runtime.Register("setRangingTimestampMillis", "(J)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=35)]
public Android.Net.Wifi.Rtt.RangingResult.Builder SetRangingTimestampMillis(long timestamp);
[<Android.Runtime.Register("setRangingTimestampMillis", "(J)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=35)>]
member this.SetRangingTimestampMillis : int64 -> Android.Net.Wifi.Rtt.RangingResult.Builder

Parameters

timestamp
Int64

time stamp in milliseconds. If not set, default to 0. Value is a non-negative timestamp in the SystemClock.elapsedRealtime() time base.

Returns

The builder to facilitate chaining. This value cannot be null.

Attributes

Remarks

Sets the time stamp at which the ranging operation was performed. The timestamp is in milliseconds since boot, including time spent in sleep, corresponding to values provided by SystemClock.elapsedRealtime().

Android reference for android.net.wifi.rtt.RangingResult.Builder.setRangingTimestampMillis.

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