Package com.brightcove.player.drm
Class CustomerRightsToken.RentalProfile
- java.lang.Object
-
- com.brightcove.player.drm.CustomerRightsToken.RentalProfile
-
- Enclosing class:
- CustomerRightsToken
public static class CustomerRightsToken.RentalProfile extends java.lang.Object
Rental profile must be used for requesting a license with time restrictions.
-
-
Field Summary
Fields Modifier and Type Field Description CustomerRightsToken.RentalLicense
rental
The rental license details.
-
Constructor Summary
Constructors Constructor Description RentalProfile(java.util.Date absoluteExpiration, java.lang.Long playDuration)
Creates a new rental profile.
-
-
-
Field Detail
-
rental
public final CustomerRightsToken.RentalLicense rental
The rental license details.
-
-
Constructor Detail
-
RentalProfile
public RentalProfile(@NonNull java.util.Date absoluteExpiration, @NonNull java.lang.Long playDuration)
Creates a new rental profile.- 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.
-
-