Share via


LampArray.IsAvailable Property

Definition

Gets whether the lamp array is available or unavailable for control by this process.

public:
 property bool IsAvailable { bool get(); };
bool IsAvailable();
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
bool IsAvailable();
public bool IsAvailable { get; }
[Windows.Foundation.Metadata.Experimental]
public bool IsAvailable { [Windows.Foundation.Metadata.Experimental] get; }
var boolean = lampArray.isAvailable;
Public ReadOnly Property IsAvailable As Boolean

Property Value

Boolean

bool

True, if the lamp array is available. Otherwise, false.

Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Applies to

See also