LCApplication contains static functions that handle global configuration for LeanCloud services.
More...
|
| static void | Initialize (string appId, string appKey, string server=null, string masterKey=null) |
| | Initialize LeanCloud services.
|
| |
LCApplication contains static functions that handle global configuration for LeanCloud services.
◆ Initialize()
| static void LeanCloud.LCApplication.Initialize |
( |
string |
appId, |
|
|
string |
appKey, |
|
|
string |
server = null, |
|
|
string |
masterKey = null |
|
) |
| |
|
inlinestatic |
Initialize LeanCloud services.
- Parameters
-
| appId | The application id provided in LeanCloud dashboard. |
| appKey | The application key provided in LeanCloud dashboard. |
| server | The server url, typically consist of your own domain. |
| masterKey | The application master key provided in LeanCloud dashboard. |
◆ RequestTimeout
| TimeSpan LeanCloud.LCApplication.RequestTimeout |
|
staticgetset |
◆ UseMasterKey
| bool LeanCloud.LCApplication.UseMasterKey |
|
staticgetset |
Uses the master key or not. The default is false.
The documentation for this class was generated from the following file: