BlinkStickDotNet.BlinkStick.OnSendColor C# (CSharp) Метод

OnSendColor() публичный Метод

public OnSendColor ( byte channel, byte index, byte r, byte g, byte b ) : System.Boolean
channel byte
index byte
r byte
g byte
b byte
Результат System.Boolean
        public Boolean OnSendColor(byte channel, byte index, byte r, byte g, byte b)
        {
            if (SendColor != null)
            {
                SendColorEventArgs args = new SendColorEventArgs(channel, index, r, g, b);
                SendColor(this, args);
                return args.SendToDevice;
            }

            return true;
        }