AkaWebAccelerator

Extends Protocol:
Declared In:
See:

Introduction

AkaWebAccelerator Service encapsulates the Mobile Accelerator functionality provided by Voc SDK.



Methods

-debugSendAnalytics

Debug Only - send analytics to server now instead of waiting for regular cycle.

-logEvent:

Creates a new record of an instantaneous event. Saves a string and time stamp to analytics.

-printCurrentCapabilities

Debug Only - print current SDK capabilities to the developer console.

-printManifest

Debug Only - print manifest contents.

-setDebugConsoleLog:

Debug Only - Enable or disable the debug console.

-startEvent:

Starts recording of a timed event for analytics.

-stopEvent:

Stops recording of a timed event for analytics.

-subscribeSegments:

Replace list of user segments. Content is refreshed immediately.


debugSendAnalytics


Debug Only - send analytics to server now instead of waiting for regular cycle.

- (void)debugSendAnalytics; 

logEvent:


Creates a new record of an instantaneous event. Saves a string and time stamp to analytics.

- (void)logEvent:(nonnull NSString *)eventName; 
Parameters
eventName

Name of the event.


printCurrentCapabilities


Debug Only - print current SDK capabilities to the developer console.

- (void)printCurrentCapabilities; 

printManifest


Debug Only - print manifest contents.

- (void)printManifest; 

setDebugConsoleLog:


Debug Only - Enable or disable the debug console.

- (void)setDebugConsoleLog:(BOOL)bDebugConsole; 
Parameters
bDebugConsole

If YES, enables extra information in the developer console.


startEvent:


Starts recording of a timed event for analytics.

- (void)startEvent:(nonnull NSString *)eventName; 
Parameters
eventName

Name of the event.

Discussion

Pair with -stopEvent: to record a string, start time, and end time.


stopEvent:


Stops recording of a timed event for analytics.

- (void)stopEvent:(nonnull NSString *)eventName; 
Parameters
eventName

Name of the event.

Discussion

Pair with -startEvent: to record a string, start time, and end time.


subscribeSegments:


Replace list of user segments. Content is refreshed immediately.

- (void)subscribeSegments:(nonnull NSSet <NSString *> *)segments; 
Parameters
segments

A set of segment names. An empty set will unsubscribe from all segments.

Discussion

This immediately syncs with the server to get a current list of content for the subscribed segments. Unsubscribed items are deleted and new items begin downloading.

Pass the complete list of segments for this user with every update. For example, the user is in ["A","B"] and you want to add "C". Subscribe to ["A","B","C"]. Any segments not listed will be unjoined and their contents deleted. Contents contained in at least one subscribed segment is retained.