Show / Hide Table of Contents

Class IDeviceCaptureExtensions

Extension methods for IDevice.

Inheritance
object
IDeviceCaptureExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Capture
Assembly: DeviceConsole.Environments.dll
Syntax
public static class IDeviceCaptureExtensions

Methods

View Source

GetImageCaptureEnvironment(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.

View Source

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.

View Source

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.

View Source

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.

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