Class CustomerRightsToken.RentalLicense

java.lang.Object
com.brightcove.player.drm.CustomerRightsToken.RentalLicense
Enclosing class:
CustomerRightsToken

public static class CustomerRightsToken.RentalLicense extends Object
The rental license describes the time restrictions to be imposed on the license.
  • Field Details

    • absoluteExpiration

      public final Date absoluteExpiration
      Defines how long the license is valid to start playback.
    • playDuration

      public final Long playDuration
      Defines in milliseconds how long the content can be consumed after the start of playback.
  • Constructor Details

    • RentalLicense

      public RentalLicense(@NonNull Date absoluteExpiration, @Nullable Long playDuration)
      Creates a new rental license.
      Parameters:
      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.