Share via


LampArrayCustomEffect.UpdateInterval Property

Definition

Gets or sets the interval between the triggering of the UpdateRequested event. The supplied image will be displayed until the event is next triggered.

public:
 property TimeSpan UpdateInterval { TimeSpan get(); void set(TimeSpan value); };
TimeSpan UpdateInterval();

void UpdateInterval(TimeSpan value);
public System.TimeSpan UpdateInterval { get; set; }
var timeSpan = lampArrayCustomEffect.updateInterval;
lampArrayCustomEffect.updateInterval = timeSpan;
Public Property UpdateInterval As TimeSpan

Property Value

Time span value of the update interval. Default value is 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.

Remarks

After you've appended (see Append) an effect to a LampArrayEffectPlaylist, the value of this property is locked, and you can no longer change it.

Applies to

See also