Light.Ordinal Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the ordinal of the light.
public int Ordinal { [Android.Runtime.Register("getOrdinal", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getOrdinal", "()I", "", ApiSince=31)>]
member this.Ordinal : int
Property Value
- Attributes
Remarks
Returns the ordinal of the light.
This is a sort key that represents the physical order of lights on the device with the same type. In the case of multiple lights arranged in a line, for example, the ordinals could be [1, 2, 3, 4], or [0, 10, 20, 30], or any other values that have the same sort order.
Java documentation for android.hardware.lights.Light.getOrdinal()
.
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.