LeanCloud C# SDK
Loading...
Searching...
No Matches
Static Public Member Functions | Properties | List of all members
LeanCloud.LCApplication Class Reference

LCApplication contains static functions that handle global configuration for LeanCloud services. More...

Static Public Member Functions

static void Initialize (string appId, string appKey, string server=null, string masterKey=null)
 Initialize LeanCloud services.
 

Properties

static bool UseMasterKey [get, set]
 Uses the master key or not. The default is false.
 
static TimeSpan RequestTimeout [get, set]
 

Detailed Description

LCApplication contains static functions that handle global configuration for LeanCloud services.

Member Function Documentation

◆ Initialize()

static void LeanCloud.LCApplication.Initialize ( string  appId,
string  appKey,
string  server = null,
string  masterKey = null 
)
inlinestatic

Initialize LeanCloud services.

Parameters
appIdThe application id provided in LeanCloud dashboard.
appKeyThe application key provided in LeanCloud dashboard.
serverThe server url, typically consist of your own domain.
masterKeyThe application master key provided in LeanCloud dashboard.

Property Documentation

◆ 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: