ProtocolCrash Class
Extends PluginProtocol
Module: anysdk
crash protocol
Index
Methods
setUserIdentifierset user identifierreportExceptionThe uploader captured in exception informationleaveBreadcrumbcustomize loggingisFunctionSupportedCheck whether the function is supportedgetPluginNameget plugin namegetPluginVersionget plugin versiongetSDKVersionget SDK versioncallFuncWithParamvoid methods for reflections with parametercallStringFuncWithParamString methods for reflections with parametercallIntFuncWithParamint methods for reflections with parametercallBoolFuncWithParamboolean methods for reflections with parametercallFloatFuncWithParamfloat methods for reflections with parameter
Details
Methods
setUserIdentifier
set user identifier
| meta | description |
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1437 |
Parameters
- identifier String
reportException
The uploader captured in exception information
| meta | description |
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1449 |
Parameters
leaveBreadcrumb
customize logging
| meta | description |
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1461 |
Parameters
- breadcrumb String
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
- functionName String
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
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
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
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
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 |