GenericPlayerApi
@protocol GenericPlayerApi <NSObject>
Player API for SmartLib Generic
-
Get the player name
Declaration
Objective-C
- (NSString *)getPlayerName; -
Get the player version
Declaration
Objective-C
- (NSString *)getVersion; -
Get the current position in secs
Declaration
Objective-C
- (double)getCurrentPosition; -
Get the total duration in secs
Note: return 0 if the current media is a LIVE
Declaration
Objective-C
- (double)getTotalDuration; -
Get the current bitrate in kbps
Declaration
Objective-C
- (int)getCurrentBitrate; -
Get player capablities adTracking = true/false
Declaration
Objective-C
- (NSDictionary *)getCapabilities;
Install in Dash
GenericPlayerApi Protocol Reference