mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
replaced deprecated methods
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user