Package com.brightcove.player.drm
Class CustomerRightsToken.RentalLicense
- java.lang.Object
-
- com.brightcove.player.drm.CustomerRightsToken.RentalLicense
-
- Enclosing class:
- CustomerRightsToken
public static class CustomerRightsToken.RentalLicense extends java.lang.Object
The rental license describes the time restrictions to be imposed on the license.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Date
absoluteExpiration
Defines how long the license is valid to start playback.java.lang.Long
playDuration
Defines in milliseconds how long the content can be consumed after the start of playback.
-
Constructor Summary
Constructors Constructor Description RentalLicense(java.util.Date absoluteExpiration, java.lang.Long playDuration)
Creates a new rental license.
-
-
-
Constructor Detail
-
RentalLicense
public RentalLicense(@NonNull java.util.Date absoluteExpiration, @Nullable java.lang.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.
-
-