ScorocodeSDK


ScorocodeSDK.initWith(applicationId, clientKey, masterKey, fileKey, messageKey, scriptKey, websocketKey)

SDK initialisation.

Parameter Type Properties Description Value example
applicationId String Mandatory Application identifier "db8a1b41b8543397a798a181d9891b4c"
clientKey String Mandatory Client key for the Java platform "563452bbc611d8106d5da767365897de"
masterKey String Optional MasterKey "28f06b89b62165c33de55265166d8781"
fileKey String Optional Authentication key for access to files "6305ee7ac8023191a333d9267f1a07e8"
messageKey String Optional Authentication key for sending messages "9d774f6fa704f192e6aef53933f44e4f"
scriptKey String Optional Server-side scripts access key "054bcf2ktyj9369dab1c32343f1776ae"
websocketKey String Optional WebSocket access key "694bcf2ffd29369dab1c3d0e3f1776ae"

SDK initialisation

  • Sdk must be initialised before you use other SDK methods;

Example

ScorocodeSdk.initWith("db8a1b41b8543397a798a181d9891b4c", "563452bbc611d8106d5da767365897de", "28f06b89b62165c33de55265166d8781", null, null, null, "694bcf2ffd29369dab1c3d0e3f1776ae");