replaced deprecated methods

This commit is contained in:
Erekle
2016-05-19 13:40:09 +04:00
parent 053b14992c
commit 3d5385dad3
3 changed files with 7 additions and 8 deletions

View File

@@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)didTapVideoPlayerNode:(ASVideoPlayerNode *)videoPlayer;
/**
* @abstract Delegate method invoked when ASVideoNode playback time is updated.
* @param videoPlayerNode The video node that was tapped.
* @param videoPlayerNode The video player node
* @param second current playback time.
*/
- (void)videoPlayerNode:(ASVideoPlayerNode *)videoPlayer didPlayToTime:(CMTime)time;
@@ -119,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param toSate ASVideoNode new state.
* @discussion This method is called after each state change
*/
- (void)videoPlayerNode:(ASVideoPlayerNode *)videoPlayer willChangeVideoNodeState:(ASVideoNodePlayerState)state toVideoNodeState:(ASVideoNodePlayerState)toSate;
- (void)videoPlayerNode:(ASVideoPlayerNode *)videoPlayer willChangeVideoNodeState:(ASVideoNodePlayerState)state toVideoNodeState:(ASVideoNodePlayerState)toState;
/**
* @abstract Delegate method is invoked when ASVideoNode decides to change state.