Language

Light.MinUpdatePeriodMillis Property

Definition

Returns the minimum update period supported by the light.

public long MinUpdatePeriodMillis { [Android.Runtime.Register("getMinUpdatePeriodMillis", "()J", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getMinUpdatePeriodMillis", "()J", "", ApiSince=37)>]
member this.MinUpdatePeriodMillis : int64

Property Value

the minimum period, in milliseconds, or 0 if the light does not support effects.

Attributes

Remarks

Returns the minimum update period supported by the light. This corresponds to the inverse of the maximum supported fps for the light.

A value of 0 means that the light does not support animations and applications should not use effects on the light. Value is a non-negative duration in milliseconds.

Android reference for android.hardware.lights.Light.getMinUpdatePeriodMillis.

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