|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.rights.Right com.adobe.flashaccess.sdk.rights.PlayRight
public class PlayRight
Grants the right to play the content. Restrictions may be imposed to limit which systems may play protected content.
The following restrictions are supported (all are optional):
Field Summary | |
---|---|
static long |
MAX_PLAYBACK_WINDOW
The maximum playback window, in seconds. |
static long |
PLAYBACK_WINDOW_UNLIMITED
Unlimited playback window. |
Constructor Summary | |
---|---|
PlayRight()
Creates a Play right with no restrictions. |
Method Summary | |
---|---|
ApplicationRequirements |
getApplicationRequirements()
Retrieves a white-list of application versions that are permitted. |
ModuleRequirements |
getDRMModuleRequirements()
Retrieves the DRM versions that are restricted. |
OutputProtectionRequirements |
getOutputProtectionRequirements()
Retrieves the output protection requirements which must be enabled before the protected content can be rendered. |
long |
getPlaybackWindow()
Retrieves the interval after the first Play action is initiated that the Play right remains valid. |
ModuleRequirements |
getRuntimeModuleRequirements()
Retrieves the runtime versions that are restricted. |
void |
setApplicationRequirements(ApplicationRequirements requirements)
Specifies a white-list of application versions that are permitted. |
void |
setDRMModuleRequirements(ModuleRequirements requirements)
Sets the DRM versions that are restricted. |
void |
setOutputProtectionRequirements(OutputProtectionRequirements requirements)
Sets the output protection requirements which must be enabled before the protected content can be rendered. |
void |
setPlaybackWindow(long seconds)
Sets the interval after the first Play action is initiated that the Play right remains valid. |
void |
setRuntimeModuleRequirements(ModuleRequirements requirements)
Sets the runtime versions that are restricted. |
Methods inherited from class com.adobe.flashaccess.sdk.rights.Right |
---|
getName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long MAX_PLAYBACK_WINDOW
public static final long PLAYBACK_WINDOW_UNLIMITED
Constructor Detail |
---|
public PlayRight()
Method Detail |
---|
public long getPlaybackWindow()
PlayRight.PLAYBACK_WINDOW_UNLIMITED
indicates there is no Play interval restriction.
public void setPlaybackWindow(long seconds)
PlayRight.PLAYBACK_WINDOW_UNLIMITED
indicates there is no Play interval restriction.
The value may not exceed PlayRight.MAX_PLAYBACK_WINDOW
.
seconds
- The play interval in seconds.public ModuleRequirements getDRMModuleRequirements()
null
if no restrictions set.public void setDRMModuleRequirements(ModuleRequirements requirements)
requirements
- The DRM module restrictions.public ModuleRequirements getRuntimeModuleRequirements()
null
if no restrictions set.public void setRuntimeModuleRequirements(ModuleRequirements requirements)
requirements
- The runtime module restrictions.public ApplicationRequirements getApplicationRequirements()
null
if no restrictions set.public void setApplicationRequirements(ApplicationRequirements requirements)
requirements
- The application restrictions.public OutputProtectionRequirements getOutputProtectionRequirements()
null
if no restrictions set.public void setOutputProtectionRequirements(OutputProtectionRequirements requirements)
requirements
- The output protection requirements.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |