Sdílet prostřednictvím


Light.LightCapabilityBrightness Field

Definition

Caution

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

Capability for lights that could adjust its LED brightness.

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

Field Value

Value = 1

Implements

Attributes

Remarks

Capability for lights that could adjust its LED brightness. If the capability is not present the LED can only be turned either on or off.

Java documentation for android.hardware.lights.Light.LIGHT_CAPABILITY_BRIGHTNESS.

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