Share via


LampArrayBitmapRequestedEventArgs Class

Definition

Provides event data for the BitmapRequested event.

public ref class LampArrayBitmapRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LampArrayBitmapRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LampArrayBitmapRequestedEventArgs
Public NotInheritable Class LampArrayBitmapRequestedEventArgs
Inheritance
Object Platform::Object IInspectable LampArrayBitmapRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.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

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

No effect progress can continue until the event handler has returned, so ensure the minimal time is spent within it. (for example, do not load images from disk during the event handler).

Properties

SinceStarted

Gets the time since the effect was started.

Methods

UpdateBitmap(SoftwareBitmap)

Sets previously specified lamp/s indexes according to the caller defined image.

Applies to

See also