Kantar Media Streaming Sensor Apple TV
Kantar Media Streaming Measurement Library for Apple TV
|
Implement this protocol to measure a streaming content. More...
#import <KMA_SpringStreams.h>
Instance Methods | |
(KMA_Player_Meta *) | - getMeta |
Returns the information about the player. More... | |
(int) | - getPosition |
Returns a positive position on the stream in seconds. More... | |
(int) | - getDuration |
Returns the duration of the stream in seconds. More... | |
(int) | - getWidth |
Returns the width of the video. More... | |
(int) | - getHeight |
Returns the height of the video. More... | |
Implement this protocol to measure a streaming content.
|
required |
Returns the duration of the stream in seconds.
If a live stream is playing, in most cases it's not possible to deliver a valid stream length. In this case, the value 0 must be delivered. Internally the duration will be set once if it is greater than 0.
|
required |
Returns the height of the video.
If the content is not a movie the value 0 is to be delivered.
|
required |
Returns the information about the player.
|
required |
Returns a positive position on the stream in seconds.
|
required |
Returns the width of the video.
If the content is not a movie the value 0 is to be delivered.