Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.7 KB

lamparrayrepetitionmode.md

File metadata and controls

48 lines (30 loc) · 1.7 KB
-api-id -api-type ms.custom
T:Windows.Devices.Lights.Effects.LampArrayRepetitionMode
winrt enum
RS5

Windows.Devices.Lights.Effects.LampArrayRepetitionMode

-description

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

-enum-fields

-field Occurrences:0

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

-field Forever:1

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

-remarks

-examples

:::row::: :::column:::

    [LampArray sample](https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/LampArray)
    
    Demonstrates how to control RGB lighting of peripheral devices using the [**Windows.Devices.Lights**](/uwp/api/windows.devices.lights) and [**Windows.Devices.Lights.Effects**](/uwp/api/windows.devices.lights.effects) APIs.

:::column-end:::
:::column:::

    [AutoRGB Sample](https://github.com/microsoft/Dynamic-Lighting-AutoRGB)
    
    Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
        
:::column-end:::

:::row-end:::

-see-also

LampArrayBlinkEffect.RepetitionMode, LampArrayEffectPlaylist.RepetitionMode, Lighting and Illumination (www.usb.org), Dynamic lighting