BradmaxPlayerSdk
BPSMMediaPlaybackState.h
1 #ifndef BPSMMediaPlaybackState_h
2 #define BPSMMediaPlaybackState_h
3 
4 #import <Foundation/Foundation.h>
5 #import "BPSMMedia.h"
6 
8 @interface BPSMMediaPlaybackState : NSObject
9 
11 @property NSNumber *currentTime;
12 
14 @property NSNumber *duration;
15 
17 @property BPSMMedia *media;
18 
19 + (BPSMMediaPlaybackState *) newFromNSDictionary: (NSDictionary *)dict;
20 
21 @end
22 
23 #endif /* BPSMMediaPlaybackState_h */
NSNumber * duration
Media duration in seconds.
Definition: BPSMMediaPlaybackState.h:14
Support object defining current state playing media.
Definition: BPSMMediaPlaybackState.m:5
BPSMMedia * media
Currently playing media info.
Definition: BPSMMediaPlaybackState.h:17
NSNumber * currentTime
Media playback position.
Definition: BPSMMediaPlaybackState.h:11
Represents single video content. It can be in multiple formats and qualities.
Definition: BPSMMedia.m:8