|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.std.RestrictionSet
The RestrictionSet class implements the corresponding data structure of the Movie Toolbox. QuickTime 6 introduces a group of new APIs that provide a mechanism to preflight operations on content that may be restricted. What this means is that, by utilizing these calls, you can determine which QuickTime functions are restricted for the current movie, that is, which operations will fail. These calls also allow developers to see what restrictions are enforced for a particular version of QuickTime. Previously, in earlier versions of QuickTime, there was no mechanism in place to report restrictions on no save or kiosk movies.
| Field Summary |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Method Summary | |
static RestrictionSet |
fromMovie(Movie theMovie)
Returns the restrictions, if any, specified on a given movie. |
int |
getClassCount()
Returns the information about the restrictions designated by the specified restriction set. |
int |
getItem(int restrictionClass)
Returns the restricted items. |
int |
getSeed()
Returns the information about the restrictions designated by the specified restriction set. |
static int |
getSupportedRestrictions(int restrictionClass)
Use this routine to determine what restrictions are enforced by the currently running version of QuickTime. |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID, toString |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static RestrictionSet fromMovie(Movie theMovie)
throws StdQTException
theMovie - the movie whose restrictions are returned
StdQTExceptionpublic static int getSupportedRestrictions(int restrictionClass)
public int getClassCount()
public int getSeed()
public int getItem(int restrictionClass)
restrictionClass - class of restrictions to be reported: kQTRestrictionClassSave or kQTRestrictionClassEdit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||