XAPlayingDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | XAPlayingDelegate.h |
– playable:currentTime:duration:
Provides updates on the duration of playback.
- (void)playable:(nonnull NSObject<XAPlaying> *)playble currentTime:(NSTimeInterval)currentTime duration:(NSTimeInterval)duration
Parameters
playble |
The object whose duration has progressed |
---|---|
currentTime |
The current time of the object. |
Discussion
Provides updates on the duration of playback.
This is provided as a convenience so you do not have to setup your own duration monitor.
Declared In
XAPlayingDelegate.h
– startedPlayback:
Called when the playable starts.
- (void)startedPlayback:(nonnull NSObject<XAPlaying> *)playable
Parameters
playable |
The playable that started. |
---|
Discussion
Called when the playable starts.
Declared In
XAPlayingDelegate.h