LampArrayBitmapRequestedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
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. |