你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VideoResolution Class

Definition

Resolution of the video feed in pixels.

public class VideoResolution : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.VideoResolution>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.VideoResolution>
type VideoResolution = class
    interface IJsonModel<VideoResolution>
    interface IPersistableModel<VideoResolution>
Public Class VideoResolution
Implements IJsonModel(Of VideoResolution), IPersistableModel(Of VideoResolution)
Inheritance
VideoResolution
Implements

Constructors

Name Description
VideoResolution(Int32, Int32)

Initializes a new instance of VideoResolution.

Properties

Name Description
Height

Height of the video in pixels. Must be greater than 0.

Width

Width of the video in pixels. Must be greater than 0.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VideoResolution>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VideoResolution>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VideoResolution>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VideoResolution>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VideoResolution>.Write(ModelReaderWriterOptions)

Applies to