Package com.brightcove.player.drm
Class CustomerRightsToken.RentalLicense
java.lang.Object
com.brightcove.player.drm.CustomerRightsToken.RentalLicense
- Enclosing class:
- CustomerRightsToken
The rental license describes the time restrictions to be imposed on the license.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRentalLicense
(Date absoluteExpiration, Long playDuration) Creates a new rental license. -
Method Summary
-
Field Details
-
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.
-
-
Constructor Details
-
RentalLicense
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.
-