LampArrayEffectPlaylist LampArrayEffectPlaylist LampArrayEffectPlaylist LampArrayEffectPlaylist LampArrayEffectPlaylist Class

Definition

Used to either chain multiple effects together or start effects simultaneously.

public : sealed class LampArrayEffectPlaylist
struct winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist
public sealed class LampArrayEffectPlaylist
Public NotInheritable Class LampArrayEffectPlaylist
var lampArrayEffectPlaylist = new lampArrayEffectPlaylist();
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

An effect must be Appended to a LampArrayEffectPlaylist before it can be played.

Constructors

LampArrayEffectPlaylist() LampArrayEffectPlaylist() LampArrayEffectPlaylist() LampArrayEffectPlaylist() LampArrayEffectPlaylist()

Creates and initializes a new instance of a playlist.

Properties

EffectStartMode EffectStartMode EffectStartMode EffectStartMode EffectStartMode

Gets or sets the starting behavior for the effects.

Occurrences Occurrences Occurrences Occurrences Occurrences

Number of occurrences this playlist will play.

RepetitionMode RepetitionMode RepetitionMode RepetitionMode RepetitionMode

Gets or sets the repetition behavior for playlist.

Size Size Size Size Size

Methods

Append(ILampArrayEffect) Append(ILampArrayEffect) Append(ILampArrayEffect) Append(ILampArrayEffect) Append(ILampArrayEffect)

Appends the effect to the end of the playlist.

First() First() First() First() First()
GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)
GetMany(UInt32, ILampArrayEffect[]) GetMany(UInt32, ILampArrayEffect[]) GetMany(UInt32, ILampArrayEffect[]) GetMany(UInt32, ILampArrayEffect[]) GetMany(UInt32, ILampArrayEffect[])
IndexOf(ILampArrayEffect, UInt32) IndexOf(ILampArrayEffect, UInt32) IndexOf(ILampArrayEffect, UInt32) IndexOf(ILampArrayEffect, UInt32) IndexOf(ILampArrayEffect, UInt32)
OverrideZIndex(Int32) OverrideZIndex(Int32) OverrideZIndex(Int32) OverrideZIndex(Int32) OverrideZIndex(Int32)

Overrides the zIndex for all contained effects.

Pause() Pause() Pause() Pause() Pause()

Pauses the playlist and persists the last state set by the internally playing effect.

PauseAll(IIterable<LampArrayEffectPlaylist>) PauseAll(IIterable<LampArrayEffectPlaylist>) PauseAll(IIterable<LampArrayEffectPlaylist>) PauseAll(IIterable<LampArrayEffectPlaylist>) PauseAll(IIterable<LampArrayEffectPlaylist>)

Guarantees that all playlists will pause at the same time.

Start() Start() Start() Start() Start()

Starts this playlist from the beginning, unless it was previously paused, which will then resuming playing from the paused position.

StartAll(IIterable<LampArrayEffectPlaylist>) StartAll(IIterable<LampArrayEffectPlaylist>) StartAll(IIterable<LampArrayEffectPlaylist>) StartAll(IIterable<LampArrayEffectPlaylist>) StartAll(IIterable<LampArrayEffectPlaylist>)

Guarantees that all playlists will start at the same time.

Stop() Stop() Stop() Stop() Stop()

Stops playing this playlist.

StopAll(IIterable<LampArrayEffectPlaylist>) StopAll(IIterable<LampArrayEffectPlaylist>) StopAll(IIterable<LampArrayEffectPlaylist>) StopAll(IIterable<LampArrayEffectPlaylist>) StopAll(IIterable<LampArrayEffectPlaylist>)

Guarantees that all playlists will stop at the same time.