Sdílet prostřednictvím


LightState.PlayerId Property

Definition

Returns the player ID associated with this LightState for Light with type android.hardware.lights.Light#LIGHT_TYPE_PLAYER_ID, or 0 for other types.

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

Property Value

the player ID.

Attributes

Remarks

Returns the player ID associated with this LightState for Light with type android.hardware.lights.Light#LIGHT_TYPE_PLAYER_ID, or 0 for other types.

Java documentation for android.hardware.lights.LightState.getPlayerId().

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