1.0.3 • Published 7 years ago

@jibestream-dev/jmap-analytics-kit v1.0.3

Weekly downloads
21
License
-
Repository
-
Last release
7 years ago

AnalyticsKit

Jibestream plugin for using Analytics

Documentation

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions

constructor() ⇒ Object

Init method

Kind: global function
Returns: Object - AnalyticsKit

sharedInstance() ⇒ Object

Shared Instance singlton

Kind: global function
Returns: Object - AnalyticsKit

setloggingOptions(loggingOptions)

Optional API to set parameters to log in analytics.

Kind: global function

ParamType
loggingOptionsArray

analyticsKitDidGetLog(callback)

Used to receive any recorded data in real time.

Kind: global function

ParamTypeDescription
callbackfunctiona function that can accept JSON.

_setNotifiers()

method to registers all listeners to begin listening for notifiers within the SDK and route to the appropriate method. This method should be called in the class init file.

Kind: global function

_shouldLogOption(option) ⇒ Boolean

Used to check if log type sould be logged.

Kind: global function

ParamTypeDescription
optionStringlog option name

_recordTapOnShapeWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnIconWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordTapOnXYWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordLoadedMapCountWithData(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_startLoadFromServerEvent(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_endLoadFromServerEvent(name, data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
nameStringidentifier
dataobjectto parse

_endRecordMapParsingWithKey(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_recordWayfindPathWithValues(data)

helper method to parse and write to logs

Kind: global function

ParamTypeDescription
dataobjectto parse

_makeTimestampForData(data) ⇒ object

creates timestamp in data object

Kind: global function
Returns: object - data

ParamTypeDescription
dataObjectto write

_recordCount(count, data) ⇒ Object

Helper method to record count and timestamp the event

Kind: global function
Returns: Object - with count and timestamp

ParamType
countNumber
dataObject

_startEventWithTimerKey(timerKey)

Create and save a time key

Kind: global function

ParamType
timerKeyString

_endEventWithTimerKey(timerKey) ⇒ Object

Log event with the timer key

Kind: global function
Returns: Object - with all timestamp details

ParamType
timerKeyString

Functions