Kantar Media Tagging Sensor iOS
Kantar Media Tagging Measurement Library for iOS
Instance Methods | Properties | List of all members
KMA_Spring Class Reference
Inheritance diagram for KMA_Spring:

Instance Methods

(id) - initWithSiteAndApplication:application:
 return the instance of Kantar Media Tagging Sensor lib, in id type Initialization of the Kantar Media Tagging Sensor library, with a site name and an application name More...
 
(id) - initWithSiteAndApplication:application:withSetting:
 return the instance of Kantar Media Tagging Sensor lib, in id type Initialization of the Kantar Media Tagging Sensor library, with a site name and an application name More...
 
(id) - initWithSiteAndApplication:application:withDomain:withUrlScheme:shouldTriggerUrlScheme:
 return the instance of Kantar Media Tagging Sensor lib, in id type Initialization of the Kantar Media Tagging Sensor library, with a site name, an application name, a domain and an url schema. More...
 
(void) - commit:
 Commit gathered data to server when application status changes. More...
 
(NSMutableDictionary *) - getEncrypedIdentifiers
 Returns the encrypted (md5) and truncated mobile identifiers. More...
 

Properties

WKWebView * wkWebView
 
BOOL tracking
 Enable or disable usage tracking. More...
 
BOOL debug
 When set to true (default:false) the library logs the internal actions. More...
 
BOOL offlineMode
 Enable or disable offline mode. More...
 
NSTimeInterval timeout
 Internally it sends http requests to the measurement system. More...
 

Method Documentation

◆ commit:()

- (void) commit: (NSDictionary *)  theDictionary

Commit gathered data to server when application status changes.

Initialization of the Kantar Media Tagging Sensor library, with a site name and an application name

Exceptions
Anexception is thrown when connection problem occurs.

◆ getEncrypedIdentifiers()

- (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'

◆ initWithSiteAndApplication:application:()

- (id) initWithSiteAndApplication: (NSString *)  theSite
application: (NSString *)  theApplication 

return the instance of Kantar Media Tagging Sensor lib, in id type Initialization of the Kantar Media Tagging Sensor library, with a site name and an application name

Warning
The site name and the application name should be provided accrodingly

◆ initWithSiteAndApplication:application:withDomain:withUrlScheme:shouldTriggerUrlScheme:()

- (id) initWithSiteAndApplication: (NSString *)  theSite
application: (NSString *)  theApplication
withDomain: (NSString *)  theDomain
withUrlScheme: (NSString *)  theUrlScheme
shouldTriggerUrlScheme: (BOOL)  trigger 

return the instance of Kantar Media Tagging Sensor lib, in id type Initialization of the Kantar Media Tagging Sensor library, with a site name, an application name, a domain and an url schema.

Option to manually turn off URLSchemeTrigger is provived via shouldTriggerUrlScheme parameter, Default is YES.

Warning
This is only allowed for internal test versions. Customer versions will throw an exception if the method is called!

◆ initWithSiteAndApplication:application:withSetting:()

- (id) initWithSiteAndApplication: (NSString *)  theSite
application: (NSString *)  theApplication
withSetting: (NSDictionary *)  configurations 

return the instance of Kantar Media Tagging Sensor lib, in id type Initialization of the Kantar Media Tagging Sensor library, with a site name and an application name

Warning
The site name and the application name should be provided accrodingly

Property Documentation

◆ debug

- (BOOL) debug
readwritenonatomicassign

When set to true (default:false) the library logs the internal actions.

Each error is logged without checking this property.

◆ offlineMode

- (BOOL) offlineMode
readwritenonatomicassign

Enable or disable offline mode.

It will be configured in the release process. Please refer to main page for more info about offlineMode

◆ timeout

- (NSTimeInterval) timeout
readwriteatomicassign

Internally it sends http requests to the measurement system.

This property sets a timeout for that purpose.

◆ tracking

- (BOOL) tracking
readwritenonatomicassign

Enable or disable usage tracking.

(default: true)

◆ wkWebView

- (WKWebView*) wkWebView
readwritenonatomicstrong

The documentation for this class was generated from the following file: