Class IDeviceCaptureExtensions
Extension methods for IDevice.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Capture
Assembly: DeviceConsole.Environments.dll
Syntax
public static class IDeviceCaptureExtensions
Methods
View SourceGetImageCaptureEnvironment(IDevice, string?)
Gets the image capture environment with the specified name.
Declaration
public static IImageCaptureEnvironment GetImageCaptureEnvironment(this IDevice self, string? name = null)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
string | name | The name of the image capture environment to get. If null, gets the default environment. |
Returns
Type | Description |
---|---|
IImageCaptureEnvironment | The specified image capture environment. |
GetSupportedImageCaptureEnvironments(IDevice)
Gets the supported image capture environments for this device.
Declaration
public static IEnumerable<string> GetSupportedImageCaptureEnvironments(this IDevice self)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of supported image capture environment names. |
GetSupportedVideoCaptureEnvironments(IDevice)
Gets the supported video capture environments for this device.
Declaration
public static IEnumerable<string> GetSupportedVideoCaptureEnvironments(this IDevice self)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of supported video capture environment names. |
GetVideoCaptureEnvironment(IDevice, string?)
Gets the video capture environment with the specified name.
Declaration
public static IVideoCaptureEnvironment GetVideoCaptureEnvironment(this IDevice self, string? name = null)
Parameters
Type | Name | Description |
---|---|---|
IDevice | self | The device context to use. |
string | name | The name of the video capture environment to get. If null, gets the default environment. |
Returns
Type | Description |
---|---|
IVideoCaptureEnvironment | The specified video capture environment. |