Share 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>
type MediaEnabledProtocols = class
    interface IJsonModel<MediaEnabledProtocols>
    interface IPersistableModel<MediaEnabledProtocols>
Public Class MediaEnabledProtocols
Implements IJsonModel(Of MediaEnabledProtocols), IPersistableModel(Of MediaEnabledProtocols)
Inheritance
System.Object
MediaEnabledProtocols
Implements
System.ClientModel.Primitives.IJsonModel<MediaEnabledProtocols> System.ClientModel.Primitives.IPersistableModel<MediaEnabledProtocols> System.ClientModel.Primitives.IPersistableModel<T>

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 System.Text.Json.Utf8JsonWriter.

IPersistableModel<MediaEnabledProtocols>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.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 System.BinaryData.

Applies to