Class CustomerRightsToken.RentalProfile

  • Enclosing class:

    public static class CustomerRightsToken.RentalProfile
    extends java.lang.Object
    Rental profile must be used for requesting a license with time restrictions.
    • Constructor Summary

      Constructor Description
      RentalProfile​(java.util.Date absoluteExpiration, java.lang.Long playDuration)
      Creates a new rental profile.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • RentalProfile

        public RentalProfile​(@NonNull
                             java.util.Date absoluteExpiration,
                             java.lang.Long playDuration)
        Creates a new rental profile.
        absoluteExpiration - defines how long the license is valid to start playback.
        playDuration - defines in milliseconds how long the content can be consumed after the start of playback.