ThinkingHome.Alice
ThinkingHome.Alice.Model
DeviceState Class
Состояние устройства в ответе на query-запрос и в callback-уведомлениях.
csharp
public class DeviceStateInheritance System.Object → DeviceState
Properties
DeviceState.Capabilities Property
Состояния способностей устройства.
csharp
public ThinkingHome.Alice.Model.Capabilities.CapabilityStateBase[] Capabilities { get; set; }Property Value
DeviceState.ErrorCode Property
Код ошибки, если состояние устройства получить не удалось.
csharp
public string ErrorCode { get; set; }Property Value
DeviceState.ErrorMessage Property
Текстовое описание ошибки.
csharp
public string ErrorMessage { get; set; }Property Value
DeviceState.Id Property
Идентификатор устройства в терминах провайдера.
csharp
public string Id { get; set; }Property Value
DeviceState.Properties Property
Состояния свойств устройства.
csharp
public ThinkingHome.Alice.Model.Properties.PropertyStateBase[] Properties { get; set; }