Show / Hide Table of Contents

Interface IDeviceStatus

Responsible for checking and setting connection status for a device.

Namespace: Phoenix.Devices
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
public interface IDeviceStatus

Properties

View Source

DisplayName

Gets the display name of the device.

Declaration
string DisplayName { get; }
Property Value
Type Description
System.String
View Source

StatusCheckInterval

Gets the duration to wait before refreshing device status.

Declaration
TimeSpan StatusCheckInterval { get; }
Property Value
Type Description
System.TimeSpan

Methods

View Source

GetAsync()

Gets the DeviceConnectionStatus of a device.

Declaration
Task<DeviceConnectionStatus> GetAsync()
Returns
Type Description
System.Threading.Tasks.Task<DeviceConnectionStatus>

The status of the device.

View Source

Set(DeviceConnectionStatus)

Sets the DeviceConnectionStatus for a device.

Declaration
void Set(DeviceConnectionStatus status)
Parameters
Type Name Description
DeviceConnectionStatus status

The status to set.

  • View Source
In This Article
Back to top Generated by DocFX