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