LightType Enum
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.
Identifies the logical purpose of a device light.
public enum LightType
type LightType =
- Inheritance
-
LightType
Fields
| Name | Value | Description |
|---|---|---|
| Microphone | 8 | Type for lights that indicate microphone usage Android reference for 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. |
| Application | 10 | Type for lights that indicate application driven use cases. Android reference for 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. |
| Input | 10001 | Type for lights that indicate a monochrome color LED light. Android reference for 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. |
| PlayerId | 10002 | Type for lights that indicate a group of LED lights representing player id. Player id lights normally present on game controllers are lights that consist of a row of LEDs. During multi-player game, the player id for the current game controller is represented by one of the LED that is lit according to its position in the row. Android reference for 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. |
| KeyboardBacklight | 10003 | Type for lights that illuminate keyboard keys. Android reference for 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. |
Remarks
This .NET enumeration represents the light type constants declared by Light. A type identifies the light's purpose; it does not guarantee that a device has a light of that type. Use Lights to find available lights.
See the Android light type definitions.