Language

GnssMeasurementRequest.Builder.SetIntervalMillis(Int32) Method

Definition

Set the time interval between the reported measurements in milliseconds, which is 0 by default.

[Android.Runtime.Register("setIntervalMillis", "(I)Landroid/location/GnssMeasurementRequest$Builder;", "", ApiSince=33)]
public Android.Locations.GnssMeasurementRequest.Builder SetIntervalMillis(int value);
[<Android.Runtime.Register("setIntervalMillis", "(I)Landroid/location/GnssMeasurementRequest$Builder;", "", ApiSince=33)>]
member this.SetIntervalMillis : int -> Android.Locations.GnssMeasurementRequest.Builder

Parameters

value
Int32

Value is 0 or greater

Returns

Attributes

Remarks

Set the time interval between the reported measurements in milliseconds, which is 0 by default. The request interval may be set to GnssMeasurementRequest.PASSIVE_INTERVAL which indicates this request will not actively generate GNSS measurement updates, but may receive GNSS measurement updates generated as a result of other GNSS measurement requests.

Android reference for android.location.GnssMeasurementRequest.Builder.setIntervalMillis.

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