Delen via


MediaJobInputFile Class

Definition

An InputDefinition for a single file. TrackSelections are scoped to the file specified.

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

Constructors

MediaJobInputFile()

Initializes a new instance of MediaJobInputFile.

Properties

Filename

Name of the file that this input definition applies to.

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.

(Inherited from MediaJobInputDefinition)

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.

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaJobInputDefinition)
IJsonModel<MediaJobInputFile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaJobInputFile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaJobInputDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MediaJobInputDefinition)
IPersistableModel<MediaJobInputFile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MediaJobInputFile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaJobInputFile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to