BradmaxPlayerSdk
BPSPlayerDelegate.h
1 #ifndef BPSPlayerDelegate_h
2 #define BPSPlayerDelegate_h
3 
4 #import <Foundation/Foundation.h>
5 #import "BPSMAdMedia.h"
6 #import "BPSMMedia.h"
7 #import "BPSMMediaPlaybackState.h"
8 
10 @protocol BPSPlayerDelegate <NSObject>
11 @optional
12 - (void)bpsPlayerDidPlayerLoad;
13 - (void)bpsPlayerDidVideoPlaying: (BPSMMediaPlaybackState *)mediaPlaybackState;
14 - (void)bpsPlayerDidVideoPaused: (BPSMMediaPlaybackState *)mediaPlaybackState;
15 - (void)bpsPlayerDidVideoStopped: (BPSMMediaPlaybackState *)mediaPlaybackState;
16 - (void)bpsPlayerDidVideoDurationChange: (BPSMMediaPlaybackState *)mediaPlaybackState;
17 - (void)bpsPlayerDidVideoCurrentTimeChange: (BPSMMediaPlaybackState *)mediaPlaybackState;
18 - (void)bpsPlayerDidVideoComplete: (BPSMMediaPlaybackState *)mediaPlaybackState;
19 - (void)bpsPlayerDidVideoBufferingStart: (BPSMMediaPlaybackState *)mediaPlaybackState;
20 - (void)bpsPlayerDidVideoBufferingEnd: (BPSMMediaPlaybackState *)mediaPlaybackState;
21 - (void)bpsPlayerDidVideoSeekingStart: (BPSMMediaPlaybackState *)mediaPlaybackState;
22 - (void)bpsPlayerDidVideoSeekingEnd: (BPSMMediaPlaybackState *)mediaPlaybackState;
23 - (void)bpsPlayerDidVideoMediaError;
24 - (void)bpsPlayerDidVideoDrmAuthenticationComplete;
25 - (void)bpsPlayerDidVideoDrmAuthenticationError;
26 - (void)bpsPlayerDidVideoDrmAuthenticationNeeded;
27 - (void)bpsPlayerDidDataProviderMediaMetadataData: (BPSMMedia *)media;
28 - (void)bpsPlayerDidDataProviderAdMetadataData: (BPSMAdMedia *)adMedia;
29 - (void)bpsPlayerDidControlVolumeChange: (float)volume;
30 @end
31 
32 #endif /* BPSPlayerDelegate_h */
Support class. It is passed to BPSPlayerDelegate, when ad playback starts.
Definition: BPSMAdMedia.m:5
Support object defining current state playing media.
Definition: BPSMMediaPlaybackState.m:5
Protocol for BPSPlayer delagate.
Definition: BPSPlayerDelegate.h:10
Represents single video content. It can be in multiple formats and qualities.
Definition: BPSMMedia.m:8