LightState.Builder.SetPlayerId(Int32) Method
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.
Set the desired player id of the LightState Builder, for a light with type Light.LIGHT_TYPE_PLAYER_ID.
[Android.Runtime.Register("setPlayerId", "(I)Landroid/hardware/lights/LightState$Builder;", "", ApiSince=31)]
public Android.Hardware.Lights.LightState.Builder SetPlayerId(int playerId);
[<Android.Runtime.Register("setPlayerId", "(I)Landroid/hardware/lights/LightState$Builder;", "", ApiSince=31)>]
member this.SetPlayerId : int -> Android.Hardware.Lights.LightState.Builder
Parameters
- playerId
- Int32
the desired player id.
Returns
The LightState.Builder object contains the player id. This value cannot be null.
- Attributes
Remarks
Set the desired player id of the LightState Builder, for a light with type Light.LIGHT_TYPE_PLAYER_ID.
Android reference for android.hardware.lights.LightState.Builder.setPlayerId.
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.