Sdílet prostřednictvím


StreamingPolicyFairPlayConfiguration Class

Definition

Class to specify configurations of FairPlay in Streaming Policy.

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

Constructors

StreamingPolicyFairPlayConfiguration(Boolean)

Initializes a new instance of StreamingPolicyFairPlayConfiguration.

Properties

AllowPersistentLicense

All license to be persistent or not.

CustomLicenseAcquisitionUriTemplate

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StreamingPolicyFairPlayConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StreamingPolicyFairPlayConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StreamingPolicyFairPlayConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StreamingPolicyFairPlayConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StreamingPolicyFairPlayConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to