语言

Light.LightTypePlayerId 字段

定义

注意

This constant will be removed in the future version. Use Android.Hardware.Lights.LightType enum directly instead of this field.

表示玩家 ID 的 LED 灯组的灯的类型。

[Android.Runtime.Register("LIGHT_TYPE_PLAYER_ID", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Lights.LightType enum directly instead of this field.", true)]
public const Android.Hardware.Lights.LightType LightTypePlayerId = 10002;
[<Android.Runtime.Register("LIGHT_TYPE_PLAYER_ID", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Lights.LightType enum directly instead of this field.", true)>]
val mutable LightTypePlayerId : Android.Hardware.Lights.LightType

字段值

Value = 10002

实现

特性

注解

表示玩家 ID 的 LED 灯组的灯的类型。游戏控制器上通常存在的玩家 ID 灯是由一行 LED 组成的灯。 在多玩家游戏中,当前游戏控制器的玩家 ID 由根据其在行中的位置点亮的 LED 之一表示。

Java文档android.hardware.lights.Light.LIGHT_TYPE_PLAYER_ID。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于