Delen via


VideoTrackDescriptor Class

Definition

A TrackSelection to select video tracks. Please note VideoTrackDescriptor is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SelectVideoTrackByAttribute and SelectVideoTrackById.

public class VideoTrackDescriptor : Azure.ResourceManager.Media.Models.TrackDescriptor, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.VideoTrackDescriptor>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.VideoTrackDescriptor>
public class VideoTrackDescriptor : Azure.ResourceManager.Media.Models.TrackDescriptor
type VideoTrackDescriptor = class
    inherit TrackDescriptor
    interface IJsonModel<VideoTrackDescriptor>
    interface IPersistableModel<VideoTrackDescriptor>
type VideoTrackDescriptor = class
    inherit TrackDescriptor
Public Class VideoTrackDescriptor
Inherits TrackDescriptor
Implements IJsonModel(Of VideoTrackDescriptor), IPersistableModel(Of VideoTrackDescriptor)
Public Class VideoTrackDescriptor
Inherits TrackDescriptor
Inheritance
VideoTrackDescriptor
Derived
Implements

Constructors

VideoTrackDescriptor()

Initializes a new instance of VideoTrackDescriptor.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TrackDescriptor>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from TrackDescriptor)
IJsonModel<TrackDescriptor>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from TrackDescriptor)
IJsonModel<VideoTrackDescriptor>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VideoTrackDescriptor>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrackDescriptor>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from TrackDescriptor)
IPersistableModel<TrackDescriptor>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from TrackDescriptor)
IPersistableModel<TrackDescriptor>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from TrackDescriptor)
IPersistableModel<VideoTrackDescriptor>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VideoTrackDescriptor>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VideoTrackDescriptor>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to