-
public class CustomerRightsToken.RentalLicense
The rental license describes the time restrictions to be imposed on the license.
-
-
Field Summary
Fields Modifier and Type Field Description public final Date
absoluteExpiration
public final Long
playDuration
-
Constructor Summary
Constructors Constructor Description CustomerRightsToken.RentalLicense(Date absoluteExpiration, Long playDuration)
Creates a new rental license.
-
-
-
Constructor Detail
-
CustomerRightsToken.RentalLicense
CustomerRightsToken.RentalLicense(Date absoluteExpiration, 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 consumedafter the start of playback.
-
-