|
DxRightsStatus | rightsStatus |
| Rights Information status. More...
|
|
BOOL | isTimeConstrained |
| Indicates whether the license has time constraints, hence start from a certain date and end in other. More...
|
|
BOOL | isIntervalConstrained |
| Indicates whether the license has interval constraints, hence how much time from current time can we still have the license valid. More...
|
|
BOOL | isCountConstrained |
| Indicates whether the license has count constraints, hence how many times can we play the media. More...
|
|
NSDate * | startTime |
| Start date of the time constrained license. Valid only if license is time constrained.
Note: Start date is expressed as the Coordinated Universal Time (UTC). More...
|
|
NSDate * | endTime |
| End date of the time constrained license. Valid only if license is time constrained.
Note: End date is expressed as the Coordinated Universal Time (UTC). More...
|
|
unsigned int | intervalPeriodInSeconds |
| Indicates how much time do we have in seconds till the license becomes invalid. Valid only if license is interval constrained. More...
|
|
unsigned int | initialCount |
| Indicates how many times could the content be played since it was purchased. Valid only if license is count constrained. More...
|
|
unsigned int | countLeft |
| Indicates how many times could the content be played from now. Valid only if license is count constrained. More...
|
|
DxRightsInfo is an object that contains a set of permissions (i.e.
permission to play, display, execute,...) and a set of constraints (i.e. date-time, count, interval,...).
A DxRightsInfo object can contain one constraint (at most) of every of the following kinds:
-
Count - The user can use the content for specific number of times.
-
Date Time - The user can use the content only after a specified start time has arrived (if start time is defined) and until a specified end time arrives (if end time is defined).
-
Interval - The user can use the content for the specified period of time starting from the first usage of content.
All the constraints apply to all the permissions. The object is valid only if all the constraints are sufficed (i.e. the constraints conditions are ANDed).