ProtocolAnalytics Class

Extends PluginProtocol

Module: anysdk

analytics protocol

Index

Methods

Details

Methods

startSession

Start a new session.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:791
stopSession

Stop a session.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:801
setSessionContinueMillis

Set the timeout for expiring a session.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:811
Parameters
logError

log an error

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:822
Parameters
logEvent

log an event.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:834
Parameters
logTimedEventBegin

Track an event begin.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:846
Parameters
logTimedEventEnd

Track an event end.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:857
Parameters
setCaptureUncaughtException

set Whether to catch uncaught exceptions to server.

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:868
Parameters
setAccount

analytics account information

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:879
Parameters
onChargeRequest

track user to request payment

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:890
Parameters
onChargeSuccess

track Successful payment

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:901
Parameters
onChargeFail

track failed payment

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:912
Parameters
onChargeOnlySuccess

track Successful payment

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:923
Parameters
onPurchase

track user purchase

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:934
Parameters
onUse

track user to use goods

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:945
Parameters
onReward

track user to reward goods

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:956
Parameters
startLevel

start level

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:967
Parameters
finishLevel

finish level

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:978
Parameters
failLevel

failed level

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:989
Parameters
startTask

start task

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1000
Parameters
finishTask

finish task

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1011
Parameters
failTask

failed task

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1022
Parameters
isFunctionSupported

Check whether the function is supported

meta description
Returns boolean
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:327
Parameters
getPluginName

get plugin name

meta description
Returns String
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:341
getPluginVersion

get plugin version

meta description
Returns String
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:353
getSDKVersion

get SDK version

meta description
Returns String
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:365
callFuncWithParam

void methods for reflections with parameter

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:377
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callStringFuncWithParam

String methods for reflections with parameter

meta description
Returns String
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:390
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callIntFuncWithParam

int methods for reflections with parameter

meta description
Returns Number
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:405
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callBoolFuncWithParam

boolean methods for reflections with parameter

meta description
Returns boolean
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:420
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callFloatFuncWithParam

float methods for reflections with parameter

meta description
Returns Number
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:435
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments

results matching ""

    No results matching ""