ProtocolUser Class

Extends PluginProtocol

Module: anysdk

user protocol

Index

Methods

Details

Methods

login

login interface

meta description
Defined in extensions/anysdk/jsb_anysdk.js:463
Parameters
isLogined

get status of login

meta description
Returns boolean
Defined in extensions/anysdk/jsb_anysdk.js:474
getUserID

get user ID

meta description
Returns String
Defined in extensions/anysdk/jsb_anysdk.js:487
getPluginId

get plugin ID

meta description
Returns String
Defined in extensions/anysdk/jsb_anysdk.js:500
setListener

set listener

meta description
Defined in extensions/anysdk/jsb_anysdk.js:512
Parameters
getListener

get listener

meta description
Returns Function
Defined in extensions/anysdk/jsb_anysdk.js:524
logout

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:536
showToolBar

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:547
Parameters
  • place anysdk.ToolBarPlace
hideToolBar

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:559
enterPlatform

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:570
exit

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:581
pause

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:592
realNameRegister

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:603
antiAddictionQuery

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:614
submitLoginGameRole

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:625
Parameters
getUserInfo

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:636
Parameters
getAvailableLoginType

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:648
Parameters
setLoginType

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:660
Parameters
sendToDesktop

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:673
openBBS

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

meta description
Defined in extensions/anysdk/jsb_anysdk.js:684
isFunctionSupported

Check whether the function is supported

meta description
Returns boolean
Defined in extensions/anysdk/jsb_anysdk.js:328
Parameters
getPluginName

get plugin name

meta description
Returns String
Defined in extensions/anysdk/jsb_anysdk.js:342
getPluginVersion

get plugin version

meta description
Returns String
Defined in extensions/anysdk/jsb_anysdk.js:354
getSDKVersion

get SDK version

meta description
Returns String
Defined in extensions/anysdk/jsb_anysdk.js:366
callFuncWithParam

void methods for reflections with parameter

meta description
Defined in extensions/anysdk/jsb_anysdk.js:378
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callStringFuncWithParam

String methods for reflections with parameter

meta description
Returns String
Defined in extensions/anysdk/jsb_anysdk.js:391
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callIntFuncWithParam

int methods for reflections with parameter

meta description
Returns Number
Defined in extensions/anysdk/jsb_anysdk.js:406
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callBoolFuncWithParam

boolean methods for reflections with parameter

meta description
Returns boolean
Defined in extensions/anysdk/jsb_anysdk.js:421
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments
callFloatFuncWithParam

float methods for reflections with parameter

meta description
Returns Number
Defined in extensions/anysdk/jsb_anysdk.js:436
Parameters
  • funName String
  • args Object | anysdk.PluginParam optional arguments

results matching ""

    No results matching ""