-
public class CustomerRightsToken.RentalProfile extends CustomerRightsToken.Profile
Rental profile must be used for requesting a license with time restrictions.
-
-
Field Summary
Fields Modifier and Type Field Description public final CustomerRightsToken.RentalLicense
rental
-
Constructor Summary
Constructors Constructor Description CustomerRightsToken.RentalProfile(Date absoluteExpiration, Long playDuration)
Creates a new rental profile.
-
-
-
Constructor Detail
-
CustomerRightsToken.RentalProfile
CustomerRightsToken.RentalProfile(Date absoluteExpiration, 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 consumedafter the start of playback.
-
-