public static class CustomerRightsToken.RentalLicense
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|
RentalLicense(java.util.Date absoluteExpiration,
java.lang.Long playDuration)
Creates a new rental license.
|
public final java.util.Date absoluteExpiration
public final java.lang.Long playDuration
public RentalLicense(@NonNull java.util.Date absoluteExpiration, @Nullable java.lang.Long playDuration)
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.