Class DRMTodayConfiguration.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> token(String token) Sets the DRM Today authorization token.
      final <Error class: unknown class> userId(String userId) Sets the identifier of the user.
      final <Error class: unknown class> sessionId(String sessionId) Sets the identifier of the session.
      final <Error class: unknown class> merchant(String merchant) Sets the identifier of the merchant.
      final DRMTodayConfiguration build() Builds the DRM Today configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DRMTodayConfiguration.Builder

        DRMTodayConfiguration.Builder(String licenseAcquisitionUrl)
        Creates a builder for the DRM Today configuration.
        Parameters:
        licenseAcquisitionUrl - The license acquisition URL used for the Widevine key system.
      • DRMTodayConfiguration.Builder

        DRMTodayConfiguration.Builder(KeySystemConfiguration widevine)
        Parameters:
        widevine - The configuration of the Widevine key system.
    • Method Detail

      • token

         final <Error class: unknown class> token(String token)

        Sets the DRM Today authorization token.

        Parameters:
        token - The authorization token.
      • userId

         final <Error class: unknown class> userId(String userId)

        Sets the identifier of the user.

        Parameters:
        userId - The user identifier.
      • sessionId

         final <Error class: unknown class> sessionId(String sessionId)

        Sets the identifier of the session.

        Parameters:
        sessionId - The session identifier.
      • merchant

         final <Error class: unknown class> merchant(String merchant)

        Sets the identifier of the merchant.

        Parameters:
        merchant - The merchant identifier.