Sdílet prostřednictvím


MediaJobInputDefinition Class

Definition

Base class for defining an input. Use sub classes of this class to specify tracks selections and related metadata. Please note MediaJobInputDefinition 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 FromAllInputFile, FromEachInputFile and MediaJobInputFile.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Media.Models.UnknownInputDefinition))]
public abstract class MediaJobInputDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.MediaJobInputDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.MediaJobInputDefinition>
public abstract class MediaJobInputDefinition
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Media.Models.UnknownInputDefinition))>]
type MediaJobInputDefinition = class
    interface IJsonModel<MediaJobInputDefinition>
    interface IPersistableModel<MediaJobInputDefinition>
type MediaJobInputDefinition = class
Public MustInherit Class MediaJobInputDefinition
Implements IJsonModel(Of MediaJobInputDefinition), IPersistableModel(Of MediaJobInputDefinition)
Public MustInherit Class MediaJobInputDefinition
Inheritance
MediaJobInputDefinition
Derived
Attributes
Implements

Constructors

MediaJobInputDefinition()

Initializes a new instance of MediaJobInputDefinition.

Properties

IncludedTracks

The list of TrackDescriptors which define the metadata and selection of tracks in the input. Please note TrackDescriptor 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 AudioTrackDescriptor, SelectAudioTrackByAttribute, SelectAudioTrackById, SelectVideoTrackByAttribute, SelectVideoTrackById and VideoTrackDescriptor.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaJobInputDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaJobInputDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaJobInputDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MediaJobInputDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaJobInputDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to