Interface StaticKeyProvider.Builder

  • Method Details

    • keyFormat

      StaticKeyProvider.Builder keyFormat(String keyFormat)
      Relates to DRM implementation. Sets the value of the KEYFORMAT attribute. Must be 'identity' or a reverse DNS string. May be omitted to indicate an implicit value of 'identity'.
      Parameters:
      keyFormat - Relates to DRM implementation. Sets the value of the KEYFORMAT attribute. Must be 'identity' or a reverse DNS string. May be omitted to indicate an implicit value of 'identity'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyFormatVersions

      StaticKeyProvider.Builder keyFormatVersions(String keyFormatVersions)
      Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3).
      Parameters:
      keyFormatVersions - Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • staticKeyValue

      StaticKeyProvider.Builder staticKeyValue(String staticKeyValue)
      Relates to DRM implementation. Use a 32-character hexidecimal string to specify Key Value.
      Parameters:
      staticKeyValue - Relates to DRM implementation. Use a 32-character hexidecimal string to specify Key Value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • url

      Relates to DRM implementation. The location of the license server used for protecting content.
      Parameters:
      url - Relates to DRM implementation. The location of the license server used for protecting content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.