Namespaces
Members
-
staticQB.buildNumber
-
Return current build number of QuickBlox JavaScript SDK
-
staticQB.version
-
Return current version of QuickBlox JavaScript SDK
Methods
-
staticQB.createSession(appIdOrToken, callback)
qbMain.js, line 211 -
Create new session(read more).
Name Type Description appIdOrTokenString Should be applecationID or QBtoken. callbackcreateSessionCallback -
staticQB.destroySession(callback)
qbMain.js, line 226 -
Destroy current session(read more).
Name Type Description callbackdestroySessionCallback The destroySessionCallback function. -
staticQB.getSession(callback)
qbMain.js, line 161 -
Return current session(read more).
Name Type Description callbackgetSessionCallback The getSessionCallback function. -
staticQB.initWithAppId(appId, accountKey, configMap)
qbMain.js, line 143 -
Init QuickBlox SDK with User Account data to start session with token(read more).
Name Type Description appIdNumber Application ID (from your admin panel). accountKeyString | Number Account key (from your admin panel). configMapObject Settings object for QuickBlox SDK. -
staticQB.login(params, callback)
qbMain.js, line 242 -
Login to QuickBlox application(read more).
Name Type Description paramsObject Params object for login into the session. callbackloginCallback The loginCallback function. -
staticQB.logout(callback)
qbMain.js, line 257 -
Remove user from current session, but doesn't destroy it(read more).
Name Type Description callbacklogoutCallback The logoutCallback function.
Type Definitions
-
QB.getSessionCallback(token, callback, error, session)
qbMain.js, line 171 -
Set up user session token to current session and return it(read more).
Name Type Description tokenString A User Session Token. callbackgetSessionCallback The getSessionCallback function. errorObject The error object. sessionObject Contains of session object.