Class AbsoluteClipTime

java.lang.Object
com.azure.resourcemanager.mediaservices.models.ClipTime
com.azure.resourcemanager.mediaservices.models.AbsoluteClipTime

public final class AbsoluteClipTime extends ClipTime
Specifies the clip time as an absolute time position in the media file. The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not.
  • Constructor Details

    • AbsoluteClipTime

      public AbsoluteClipTime()
      Creates an instance of AbsoluteClipTime class.
  • Method Details

    • time

      public Duration time()
      Get the time property: The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
      Returns:
      the time value.
    • withTime

      public AbsoluteClipTime withTime(Duration time)
      Set the time property: The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
      Parameters:
      time - the time value to set.
      Returns:
      the AbsoluteClipTime object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ClipTime
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.