Scorocode
.Init(opt) - SDK initialization
| Parameter | Type | Description |
|---|---|---|
| opt | Object |
Keys for ititialisation: application identifier, your platform client key and access keys that necessary. |
Properties
| Parameter | Type | Description |
|---|---|---|
| ApplicationID | String |
Application identifier |
| JavaScriptKey | String |
Client key for JavaScript platform |
| FileKey | String |
File access key |
| ScriptKey | String |
Server-side scripts access key |
| MessageKey | String |
Messages access key |
| WebSocketKey | String |
WebSocket access key |
| MasterKey | String |
Application master-key |
Example
Scorocode.Init({
ApplicationID: "a3d04e75e157b2f7ae20c2fce02f63d6",
JavaScriptKey: "ad6a8fe72ef7dfb9c46958aacb15196a",
FileKey: "2aceceec7d2e96b1487ec399f5afa101",
MessageKey: "e215ed465646775b42d65cca2d2f5db9"
});