Delen via


ClipTime Class

Definition

Base class for specifying a clip time. Use sub classes of this class to specify the time position in the media. Please note ClipTime 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 AbsoluteClipTime and UtcClipTime.

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

Constructors

ClipTime()

Initializes a new instance of ClipTime.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ClipTime>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClipTime>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClipTime>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClipTime>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClipTime>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to