Exemple #1
0
        public string GetLabel()
        {
            LifxGetLabelCommand command = new LifxGetLabelCommand();

            LifxCommunicator.Instance.SendCommand(command, this);

            return(((LifxLabelMessage)command.ReturnMessage).BulbLabel);
        }
Exemple #2
0
        public async Task <LifxLabelMessage> GetLabelCommand()
        {
            LifxGetLabelCommand command = new LifxGetLabelCommand();

            return(await LifxCommunicator.Instance.SendCommand(command, this) as LifxLabelMessage);
        }