|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.rights.ApplicationIdentifier com.adobe.flashaccess.sdk.rights.AIRApplicationIdentifier
public class AIRApplicationIdentifier
Restricts AIR applications that can consume content. AIR applications are identified by an Adobe AIR publisher identifier, an Adobe AIR application identifier, and a version.
If only a publisher identifier is specified, any application from that publisher is valid. If only a publisher and application identifier are specified, any version of that application is valid. Publisher and application identifier are required if minimum or maximum version is specified. If a minimum version is specified, applications with a version number greater than or equal to the specified version are allowed. If a maximum version is specified, applications with a version number less than or equal to the specified version are allowed.
Constructor Summary | |
---|---|
AIRApplicationIdentifier()
Creates an AIRApplicationIdentifier with no restrictions. |
|
AIRApplicationIdentifier(java.lang.String publisherId)
Limits access to the specified publisher identifier, but permits any application identifier and version. |
|
AIRApplicationIdentifier(java.lang.String publisherId,
java.lang.String applicationId)
Limits access to the specified publisher identifier and application identifier, but permits any version. |
|
AIRApplicationIdentifier(java.lang.String publisherId,
java.lang.String applicationId,
java.lang.String minVersion,
java.lang.String maxVersion)
Limits access to the specified publisher identifier, application identifier, and version range. |
Method Summary | |
---|---|
java.lang.String |
getApplicationID()
Retrieves The Adobe AIR application identifier for applications allowed to access the content. |
java.lang.String |
getMaximumVersion()
Retrieves the maximum application version for applications allowed to access the content (optional). |
java.lang.String |
getMinimumVersion()
Retrieves the minimum application version for applications allowed to access the content (optional). |
java.lang.String |
getPublisherID()
Retrieves the Adobe AIR publisher identifier for applications allowed to access the content. |
void |
setApplicationID(java.lang.String applicationID)
Sets The Adobe AIR application identifier for applications allowed to access the content. |
void |
setMaximumVersion(java.lang.String maxVersion)
Sets the maximum application version for applications allowed to access the content. |
void |
setMinimumVersion(java.lang.String minVersion)
Sets the minimum accepted version for applications allowed to access the content. |
void |
setPublisherID(java.lang.String publisherId)
Retrieves The Adobe AIR publisher identifier for applications allowed to access the content. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AIRApplicationIdentifier()
AIRApplicationIdentifier
with no restrictions. At a minimum, the publisher identifier
must be set before this object is used.
public AIRApplicationIdentifier(java.lang.String publisherId)
publisherId
- The Adobe AIR publisher identifier.public AIRApplicationIdentifier(java.lang.String publisherId, java.lang.String applicationId)
publisherId
- The Adobe AIR publisher identifier.applicationId
- The Adobe AIR application identifier.public AIRApplicationIdentifier(java.lang.String publisherId, java.lang.String applicationId, java.lang.String minVersion, java.lang.String maxVersion)
publisherId
- The Adobe AIR publisher identifier.applicationId
- The Adobe AIR application identifier.minVersion
- The minimum application version (inclusive).maxVersion
- The maximum application version (inclusive).Method Detail |
---|
public java.lang.String getPublisherID()
public void setPublisherID(java.lang.String publisherId)
publisherId
- The Adobe AIR publisher identifier.public java.lang.String getApplicationID()
null
if there is no application identifier restriction.public void setApplicationID(java.lang.String applicationID)
applicationID
- The Adobe AIR application identifier, or null
if there is no application identifier restriction.public java.lang.String getMinimumVersion()
public void setMinimumVersion(java.lang.String minVersion)
"1.0023.1"
. If the maximum and minimum versions are equal,
only that exact version number is allowed. Version numbers may not be negative.
minVersion
- The minimum accepted version for applications allowed to access the content.public java.lang.String getMaximumVersion()
public void setMaximumVersion(java.lang.String maxVersion)
"1.0023.1"
. If the maximum and minimum versions are equal,
only that exact version number is allowed. Version numbers may not be negative.
maxVersion
- The maximum application version for applications allowed to access the content.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |