Language

Light.Type Property

Definition

Returns the logical type of the light.

public int Type { [Android.Runtime.Register("getType", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getType", "()I", "", ApiSince=31)>]
member this.Type : int

Property Value

The integer value of the light type, for example one of the following: Microphone; Input; PlayerId; KeyboardBacklight; Application. Cast the enum value to int to compare it with this property.

Attributes

Remarks

Returns the logical type of the light.

Java documentation for android.hardware.lights.Light.getType().

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