#import <AMTimeAction.h>
Public Member Functions | |
(id) | - initWithPlayable:begin:action:permanent: |
Creates a new permanent or single-use AMTimeAction object. | |
(double) | - getBeginTime |
Gets the scheduled begin time of the action. | |
(BOOL) | - doAction:timeInterval: |
Performs the registered action on the linked playable object. | |
Protected Attributes | |
id | playable |
AMActionType | action |
double | begin |
BOOL | permanent |
- (BOOL) doAction: | (double) | _currentTime | ||
timeInterval: | (double) | _timeInterval | ||
Performs the registered action on the linked playable object.
currentTime | The current time given of the scheduler time base, in seconds. | |
timeInterval | The time interval that has to be considerated as current, negatively relative to the currentTime parameter, in seconds. |
- (double) getBeginTime |
Gets the scheduled begin time of the action.
- (id) initWithPlayable: | (id) | _playable | ||
begin: | (double) | _begin | ||
action: | (AMActionType) | _action | ||
permanent: | (BOOL) | _permanent | ||
Creates a new permanent or single-use AMTimeAction object.
playable | The playable object on which the action will occur. | |
begin | The scheduled begin time for the action to perform, in seconds. | |
action | The action to perform, as defined by the AMActionType enumeration. | |
permanent | If set to YES, this AMTimeAction object will be dismissed by the scheduler after having performed the action. |