BradmaxPlayerSdk
BPSMAdMedia.h
1 #ifndef BPSMAdMedia_h
2 #define BPSMAdMedia_h
3 
4 #import <Foundation/Foundation.h>
5 #import "BPSMMedia.h"
6 
8 @interface BPSMAdMedia : NSObject
9 
11 @property BPSMMedia *media;
12 
14 @property NSString *mediaClickTargetUrl;
15 
17 @property NSNumber *currentOrderNumber;
18 
20 @property NSNumber *totalNumber;
21 
23 @property NSNumber *durationPlayed;
24 
26 @property NSNumber *durationTotal;
27 
29 @property NSString *adId;
30 
31 + (BPSMAdMedia *) newFromNSDictionary: (NSDictionary *)dict;
32 
33 @end
34 
35 #endif /* BPSMAdMedia_h */
NSNumber * durationPlayed
Total time spend on ads playback during ad break.
Definition: BPSMAdMedia.h:23
Support class. It is passed to BPSPlayerDelegate, when ad playback starts.
Definition: BPSMAdMedia.m:5
NSNumber * totalNumber
Number of ads in ad break.
Definition: BPSMAdMedia.h:20
NSString * adId
Currently played ad id.
Definition: BPSMAdMedia.h:29
NSNumber * durationTotal
Total time of ad break.
Definition: BPSMAdMedia.h:26
NSString * mediaClickTargetUrl
Landing page after clicking ad.
Definition: BPSMAdMedia.h:14
NSNumber * currentOrderNumber
Ad order number.
Definition: BPSMAdMedia.h:17
Represents single video content. It can be in multiple formats and qualities.
Definition: BPSMMedia.m:8
BPSMMedia * media
Media object.
Definition: BPSMAdMedia.h:11