Share via


LampArrayRepetitionMode Enum

Definition

Defines constants that specify the repetition behavior for effect/playlist.

public enum class LampArrayRepetitionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class LampArrayRepetitionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum LampArrayRepetitionMode
var value = Windows.Devices.Lights.Effects.LampArrayRepetitionMode.occurrences
Public Enum LampArrayRepetitionMode
Inheritance
LampArrayRepetitionMode
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Fields

Name Value Description
Occurrences 0

Specifies that the effect/playlist is run for the defined number of times.

Forever 1

Specifies that the effect/playlist is run forever. Can only be stopped by stopping the playlist.

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