Class CustomerRightsToken.RentalProfile

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

public static class CustomerRightsToken.RentalProfile extends Object
Rental profile must be used for requesting a license with time restrictions.
  • Field Details

  • Constructor Details

    • RentalProfile

      public RentalProfile(@NonNull Date absoluteExpiration, @NonNull Long playDuration)
      Creates a new rental profile.
      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.