27 lines
660 B
Objective-C
27 lines
660 B
Objective-C
//
|
|
// SellyPlayerDelegate.h
|
|
// SellyCloudSDK
|
|
//
|
|
// Created by Caleb on 14/7/25.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SellyPublicDefinition.h"
|
|
#import "SellyVideoPlayer.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SellyPlayerManagerDelegate <NSObject>
|
|
@optional
|
|
- (void)player:(SellyVideoPlayer *)player prepareToPlayChanged:(BOOL)prepare;
|
|
/**
|
|
SellyCloudMPMovieFinishReason
|
|
*/
|
|
- (void)player:(SellyVideoPlayer *)player playbackDidFinished:(NSDictionary *)resultInfo;
|
|
- (void)player:(SellyVideoPlayer *)player playbackStateChanged:(SellyPlayerState)state;
|
|
|
|
- (void)player:(SellyVideoPlayer *)player onError:(NSError *)error;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|