QMedia
![]() |
![]() ![]() |
QM_GetTrackAnnTypes(movieRef; trackID; annTypes):error | |||
![]() |
movieRef | Longint | Movie reference |
![]() |
trackID | Longint | Track ID |
![]() |
annTypes | Array string | Annotation types |
![]() |
error | Longint | Error result |
Returns the annotation types of all annotations present in a track.
Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.
Parameter trackID is the ID of the track.
Parameter annTypes is an array of four character strings that receives the annotation types. For a list of QMedia constants for identifying common annotation types, see the QM_GetMovieAnnTypes command.
Example
ARRAY STRING(4;$annotationTypes;0) $err:=QM_GetTrackAnnTypes ($movie;$trackID;$annotationTypes) |
Related commands
QM_SetTrackAnnotation | Changes a text annotation in a track. |
QM_GetTrackAnnotation | Returns a text annotation from a track. |
QM_DeleteTrackAnnotation | Removes a text annotation from a track. |