BitmovinApiSdk\Models\HlsTargetDurationRoundingMode

Synopsis

class HlsTargetDurationRoundingMode extends Enum {
  • // methods
  • public static HlsTargetDurationRoundingMode create()
  • public static HlsTargetDurationRoundingMode UPWARD_ROUNDING()
  • public static HlsTargetDurationRoundingMode NORMAL_ROUNDING()
}

Hierarchy

Methods

public

  • NORMAL_ROUNDING() — The target duration will be normally rounded. For example: if the target duration is 4.2 this will be rounded to 4.
  • UPWARD_ROUNDING() — The target duration will be always rounded upwards. For example: if the target duration is 4.2 this will be rounded to 5.
  • create()

Inherited from BitmovinApiSdk\Common\Enum

public

  • __callStatic() — Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a class constant
  • __toString()
  • equals() — Determines if Enum should be considered equal with the variable passed as a parameter.
  • getKey() — Returns the enum key (i.e. the constant name).
  • getValue()
  • isValidKey() — Check if is valid enum key
  • jsonSerialize() — Specify data which should be serialized to JSON. This method returns data that can be serialized by json_encode() natively.
  • keys() — Returns the names (keys) of all constants in the Enum class
  • toArray() — Returns all possible values as an array
  • values() — Returns instances of the Enum class of all Enum constants