LampArrayUpdateRequestedEventArgs LampArrayUpdateRequestedEventArgs LampArrayUpdateRequestedEventArgs LampArrayUpdateRequestedEventArgs LampArrayUpdateRequestedEventArgs Class

Definition

Provides event data for the UpdateRequested event.

public : sealed class LampArrayUpdateRequestedEventArgs
struct winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs
public sealed class LampArrayUpdateRequestedEventArgs
Public NotInheritable Class LampArrayUpdateRequestedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

Remarks

Cannot call any methods on the object given by the event handler, outside of the event handler.

No effect progress cannot continue until the event handler has returned, so ensure the minimal is spent within it.

Properties

SinceStarted SinceStarted SinceStarted SinceStarted SinceStarted

Gets the time since the effect was started.

Methods

SetColor(Color) SetColor(Color) SetColor(Color) SetColor(Color) SetColor(Color)

Sets every lamp index specified in the effect to the desired color.

SetColorForIndex(Int32, Color) SetColorForIndex(Int32, Color) SetColorForIndex(Int32, Color) SetColorForIndex(Int32, Color) SetColorForIndex(Int32, Color)

Sets the lamp corresponding to the index to the desired color.

SetColorsForIndices(Color[], Int32[]) SetColorsForIndices(Color[], Int32[]) SetColorsForIndices(Color[], Int32[]) SetColorsForIndices(Color[], Int32[]) SetColorsForIndices(Color[], Int32[])

Sets the color for multiple lamps. Position within each array maps lamp index to desired color.

SetSingleColorForIndices(Color, Int32[]) SetSingleColorForIndices(Color, Int32[]) SetSingleColorForIndices(Color, Int32[]) SetSingleColorForIndices(Color, Int32[]) SetSingleColorForIndices(Color, Int32[])

Sets all lamps specified to the same color.