DxRightsInfo is an object that contains a set of permissions (i.e. More...
#import <DxRightsInfo.h>
Instance Methods  
(id)   initWithRightsObject: 
Initialize the DxRightsInfo object with internal data objects. More...  
Properties  
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...  
Detailed Description
DxRightsInfo is an object that contains a set of permissions (i.e.
permission to play, display, execute,...) and a set of constraints (i.e. datetime, 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).
Method Documentation
 (id) initWithRightsObject:  (const void *)  rightsObject 
Initialize the DxRightsInfo object with internal data objects.
For intenal use only.
 Parameters

[in] rightsObject  internal data object.
 Returns
 DxRightsInfo object.
Property Documentation

readatomicassign 
Indicates how many times could the content be played from now. Valid only if license is count constrained.

readatomicretain 
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).

readatomicassign 
Indicates how many times could the content be played since it was purchased. Valid only if license is count constrained.

readatomicassign 
Indicates how much time do we have in seconds till the license becomes invalid. Valid only if license is interval constrained.

readatomicassign 
Indicates whether the license has count constraints, hence how many times can we play the media.

readatomicassign 
Indicates whether the license has interval constraints, hence how much time from current time can we still have the license valid.

readatomicassign 
Indicates whether the license has time constraints, hence start from a certain date and end in other.

readatomicassign 
Rights Information status.

readatomicretain 
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).
The documentation for this class was generated from the following file: