ProtocolSocial Class

Extends PluginProtocol

Module: anysdk

social protocol

Index

Methods

Details

Methods

signIn

sign in

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

sign out

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

submit score

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

show the id of Leaderboard page

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

show the page of achievements

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

unlock achievement

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

set listener

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

get listener

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

get friends info 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:1291
interact

interact 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:1302
subscribe

subscribe 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:1313
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 ""