Show / Hide Table of Contents

Interface IDevice

Represents a device.

Inherited Members
IServiceProvider.GetService(Type)
Namespace: Microsoft.XboxStudios.DeviceConsole
Assembly: DeviceConsole.Abstractions.dll
Syntax
public interface IDevice : IServiceProvider

Properties

View Source

Alias

Gets or sets a user defined alias for the device.

Declaration
string? Alias { get; set; }
Property Value
Type Description
string
View Source

ConnectionStatus

Gets a value indicating the device connection status.

Declaration
ConnectionStatus ConnectionStatus { get; }
Property Value
Type Description
ConnectionStatus
View Source

DisplayName

Gets the display name for UI and logging. This is the Alias if valid or else the Name or IPAddress.

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

Id

Gets the unique identifier of the device.

Declaration
string Id { get; }
Property Value
Type Description
string
View Source

IPAddress

Gets the IP address of this device.

Declaration
IPAddress IPAddress { get; }
Property Value
Type Description
IPAddress
View Source

Name

Gets or sets the name of this device.

Declaration
string? Name { get; set; }
Property Value
Type Description
string
View Source

TypeName

Gets the name of the device type.

Declaration
string TypeName { get; }
Property Value
Type Description
string

Extension Methods

IDeviceApplicationExtensions.GetApplicationEnvironment(IDevice, string?)
IDeviceApplicationExtensions.GetSupportedApplicationEnvironments(IDevice)
IDeviceCaptureExtensions.GetImageCaptureEnvironment(IDevice, string?)
IDeviceCaptureExtensions.GetSupportedImageCaptureEnvironments(IDevice)
IDeviceCaptureExtensions.GetSupportedVideoCaptureEnvironments(IDevice)
IDeviceCaptureExtensions.GetVideoCaptureEnvironment(IDevice, string?)
IDeviceFileExtensions.GetFileEnvironment(IDevice, string?)
IDeviceFileExtensions.GetSupportedFileEnvironments(IDevice)
IDeviceEnvironmentExtensions.GetEnvironment<T>(IDevice, string?)
IDeviceEnvironmentExtensions.GetSupportedEnvironments<T>(IDevice)
IDeviceNetworkExtensions.GetNetworkEnvironment(IDevice, string?)
IDeviceNetworkExtensions.GetSupportedNetworkEnvironments(IDevice)
IDevicePerformanceExtensions.GetProcessEnvironment(IDevice, string?)
IDevicePerformanceExtensions.GetSupportedProcessEnvironments(IDevice)
IDevicePowerExtensions.GetPowerEnvironment(IDevice, string?)
IDevicePowerExtensions.GetSupportedPowerEnvironments(IDevice)
IDeviceSettingExtensions.GetSettingEnvironment(IDevice, string?)
IDeviceSettingExtensions.GetSupportedSettingEnvironments(IDevice)
  • View Source
In This Article
Back to top Generated by DocFX