Sensor.MaxDelay Property

Definition

This value is defined only for continuous and on-change sensors.

public virtual int MaxDelay { [Android.Runtime.Register("getMaxDelay", "()I", "GetGetMaxDelayHandler")] get; }
[<get: Android.Runtime.Register("getMaxDelay", "()I", "GetGetMaxDelayHandler")>]
member this.MaxDelay : int

Property Value

The max delay for this sensor in microseconds.

Attributes

Remarks

This value is defined only for continuous and on-change sensors. It is the delay between two sensor events corresponding to the lowest frequency that this sensor supports. When lower frequencies are requested through registerListener() the events will be generated at this frequency instead. It can be used to estimate when the batch FIFO may be full. Older devices may set this value to zero. Ignore this value in case it is negative or zero.

Java documentation for android.hardware.Sensor.getMaxDelay().

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