ProtocolUser Class

Extends PluginProtocol

Module: anysdk

user protocol

Index

Methods
  • login login interface
  • isLogined get status of login
  • getUserID get user ID
  • getPluginId get plugin ID
  • setListener set listener
  • getListener get listener
  • logout logout Before to invoke, you need to verdict whether this properties existed
  • showToolBar show toolbar Before to invoke, you need to verdict whether this properties existed
  • hideToolBar hide toolbar Before to invoke, you need to verdict whether this properties existed
  • enterPlatform enter platform Before to invoke, you need to verdict whether this properties existed
  • exit show exit page Before to invoke, you need to verdict whether this properties existed
  • pause show pause page Before to invoke, you need to verdict whether this properties existed
  • realNameRegister Real-name registration Before to invoke, you need to verdict whether this properties existed
  • antiAddictionQuery Anti-addiction query Before to invoke, you need to verdict whether this properties existed
  • submitLoginGameRole submit game role information Before to invoke, you need to verdict whether this properties existed
  • getUserInfo get user information Before to invoke, you need to verdict whether this properties existed
  • getAvailableLoginType set login type Before to invoke, you need to verdict whether this properties existed
  • setLoginType set login type Before to invoke, you need to verdict whether this properties existed
  • sendToDesktop send to desktop Before to invoke, you need to verdict whether this properties existed
  • openBBS open bbs Before to invoke, you need to verdict whether this properties existed
  • isFunctionSupported Check whether the function is supported
  • getPluginName get plugin name
  • getPluginVersion get plugin version
  • getSDKVersion get SDK version
  • callFuncWithParam void methods for reflections with parameter
  • callStringFuncWithParam String methods for reflections with parameter
  • callIntFuncWithParam int methods for reflections with parameter
  • callBoolFuncWithParam boolean methods for reflections with parameter
  • callFloatFuncWithParam float methods for reflections with parameter

Details

Methods

login

login interface

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

get status of login

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

get user ID

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

get plugin ID

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

set listener

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

get listener

meta description
Returns Function
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:523
logout

logout Before to invoke, you need to verdict whether this properties existed

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

show toolbar Before to invoke, you need to verdict whether this properties existed

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:546
Parameters
  • place anysdk.ToolBarPlace
hideToolBar

hide toolbar Before to invoke, you need to verdict whether this properties existed

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

enter platform Before to invoke, you need to verdict whether this properties existed

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

show exit page Before to invoke, you need to verdict whether this properties existed

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

show pause page Before to invoke, you need to verdict whether this properties existed

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

Real-name registration Before to invoke, you need to verdict whether this properties existed

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

Anti-addiction query Before to invoke, you need to verdict whether this properties existed

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

submit game role information Before to invoke, you need to verdict whether this properties existed

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

get user information Before to invoke, you need to verdict whether this properties existed

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

set login type Before to invoke, you need to verdict whether this properties existed

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

set login type Before to invoke, you need to verdict whether this properties existed

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

send to desktop Before to invoke, you need to verdict whether this properties existed

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

open bbs Before to invoke, you need to verdict whether this properties existed

meta description
Defined in https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:683
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 ""