Class PicoPiRGBDevice
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inheritance
PicoPiRGBDevice
Implements
Inherited Members
Namespace: RGB.NET.Devices.PicoPi
Assembly: RGB.NET.Devices.PicoPi.dll
Syntax
public sealed class PicoPiRGBDevice : AbstractRGBDevice<PicoPiRGBDeviceInfo>, IRGBDevice<PicoPiRGBDeviceInfo>, IRGBDevice, IEnumerable<Led>, IEnumerable, IPlaceable, IBindable, INotifyPropertyChanged, IDisposable
Constructors
| Edit this page View SourcePicoPiRGBDevice(PicoPiRGBDeviceInfo, IUpdateQueue, LedMapping<int>)
Initializes a new instance of the PicoPiRGBDevice class.
Declaration
public PicoPiRGBDevice(PicoPiRGBDeviceInfo deviceInfo, IUpdateQueue updateQueue, LedMapping<int> ledMapping)
Parameters
Type | Name | Description |
---|---|---|
PicoPiRGBDeviceInfo | deviceInfo | The device info of this device. |
IUpdateQueue | updateQueue | The queue used to update this device. |
LedMapping<int> | ledMapping | A mapping of leds this device is initialized with. |
Methods
| Edit this page View SourceGetLedCustomData(LedId)
Gets the custom data associated with the specified LED.
Declaration
protected override object GetLedCustomData(LedId ledId)
Parameters
Type | Name | Description |
---|---|---|
LedId | ledId | The id of the led. |
Returns
Type | Description |
---|---|
object | The custom data for the specified LED. |