Kantar Media Streaming Sensor APPLE_TV
Kantar Media Streaming Measurement Library for APPLE_TV
|
The sensor which exists exactly one time in an application and manage all streaming measurement issues. More...
#import <KMA_SpringStreams.h>
Instance Methods | |
(KMA_Stream *) | - track:atts: |
Call this method to start a tracking of a streaming content. More... | |
(void) | - unload |
When the method is called all internal tracking processes will be terminated. More... | |
(NSMutableDictionary *) | - getEncrypedIdentifiers |
Returns the encrypted (md5) and truncated mobile identifiers. More... | |
Class Methods | |
(KMA_SpringStreams *) | + getInstance:a: |
Returns the instance of the sensor which is initialized with a site name and an application name. More... | |
(KMA_SpringStreams *) | + getInstance |
Properties | |
BOOL | tracking |
Enable or disable usage tracking. More... | |
BOOL | debug |
When set to true (default:false) the library logs the internal actions. More... | |
NSTimeInterval | timeout |
Internally it sends http requests to the measurement system. More... | |
BOOL | offlineMode |
Enable or disable offline mode. More... | |
The sensor which exists exactly one time in an application and manage all streaming measurement issues.
When the application starts the sensor has to be instantiated one time with the method getInstance:site:app
. The next calls must be transmtted by the method getInstance
.
- (NSMutableDictionary *) getEncrypedIdentifiers |
Returns the encrypted (md5) and truncated mobile identifiers.
The MAC ID is stored with the key 'mid' The Vendor ID is stored with the key 'ifv'
+ (KMA_SpringStreams*) getInstance |
+ (KMA_SpringStreams*) getInstance: | (NSString *) | site | |
a: | (NSString *) | app | |
Returns the instance of the sensor which is initialized with a site name and an application name.
This method has to be called the first time when the application is starting.
An | exception is thrown when this method is called for a second time. |
- (KMA_Stream*) track: | (NSObject< KMA_StreamAdapter > *) | stream | |
atts: | (NSDictionary *) | atts | |
Call this method to start a tracking of a streaming content.
The sensor gets access to the KMA_Stream through the given adapter. The variable name is mandatory in the attributes object.
stream | The KMA_StreamAdapter which handles the access to the underlying streaming content |
atts | A map which contains information about the streaming content. |
An | exception if parameter KMA_Stream or atts is null. |
An | exception if the mandatory name attributes are not found. |
- (void) unload |
When the method is called all internal tracking processes will be terminated.
Call this method when the application is closing.
|
readwritenonatomicassign |
When set to true (default:false) the library logs the internal actions.
Each error is logged without checking this property.
|
readwriteatomicassign |
Enable or disable offline mode.
It will be configured in the release process. Please refer to Main page for more Info
|
readwriteatomicassign |
Internally it sends http requests to the measurement system.
This property sets a timeout for that purpose.
|
readwriteatomicassign |
Enable or disable usage tracking.
(default: true)