Sdílet prostřednictvím


AudioTrackDescriptor Class

Definition

A TrackSelection to select audio tracks. Please note AudioTrackDescriptor 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 SelectAudioTrackByAttribute and SelectAudioTrackById.

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

Constructors

AudioTrackDescriptor()

Initializes a new instance of AudioTrackDescriptor.

Properties

ChannelMapping

Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AudioTrackDescriptor>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AudioTrackDescriptor>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<AudioTrackDescriptor>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AudioTrackDescriptor>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AudioTrackDescriptor>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to