Delen via


MediaEnabledProtocols Class

Definition

Class to specify which protocols are enabled.

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

Constructors

MediaEnabledProtocols(Boolean, Boolean, Boolean, Boolean)

Initializes a new instance of MediaEnabledProtocols.

Properties

IsDashEnabled

Enable DASH protocol or not.

IsDownloadEnabled

Enable Download protocol or not.

IsHlsEnabled

Enable HLS protocol or not.

IsSmoothStreamingEnabled

Enable SmoothStreaming protocol or not.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaEnabledProtocols>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaEnabledProtocols>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaEnabledProtocols>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MediaEnabledProtocols>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaEnabledProtocols>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to