C# Class DeployGateSDK, deploygate-with-unity

Inheritance: MonoBehaviour
显示文件 Open project: anchan828/deploygate-with-unity Class Usage Examples

Public Methods

Method Description
GetAuthorUsername ( ) : string

Get current app's author (i.e. distributor) username on DeployGate.

GetLoginUsername ( ) : string

Get current DeployGate username. This function only available when isAuthorized() is true.

Install ( ) : void

Install DeployGate on your application instance.

Install ( string deployGateUserName ) : void

Install DeployGate on your application instance.

IsAuthorized ( ) : bool

Get whether current DeployGate user has this application in his/her available list.

IsDeployGateAvailable ( ) : bool

Get whether DeployGate client service is available on this device.

IsInitialized ( ) : bool
IsManaged ( ) : bool
LogDebug ( string text ) : void

Record DEBUG level event on DeployGate.

LogError ( string text ) : void

Record ERROR level event on DeployGate.

LogInfo ( string text ) : void

Record INFO level event on DeployGate.

LogVerbose ( string text ) : void

Record VERBOSE level event on DeployGate.

LogWarn ( string text ) : void

Record WARN level event on DeployGate.

Refresh ( ) : void

Request refreshing cached session values (e.g., isAuthorized, etc.) to the DeployGate service.

Method Details

GetAuthorUsername() public static method

Get current app's author (i.e. distributor) username on DeployGate.
public static GetAuthorUsername ( ) : string
return string

GetLoginUsername() public static method

Get current DeployGate username. This function only available when isAuthorized() is true.
public static GetLoginUsername ( ) : string
return string

Install() public static method

Install DeployGate on your application instance.
public static Install ( ) : void
return void

Install() public static method

Install DeployGate on your application instance.
public static Install ( string deployGateUserName ) : void
deployGateUserName string
return void

IsAuthorized() public static method

Get whether current DeployGate user has this application in his/her available list.
public static IsAuthorized ( ) : bool
return bool

IsDeployGateAvailable() public static method

Get whether DeployGate client service is available on this device.
public static IsDeployGateAvailable ( ) : bool
return bool

IsInitialized() public static method

public static IsInitialized ( ) : bool
return bool

IsManaged() public static method

public static IsManaged ( ) : bool
return bool

LogDebug() public static method

Record DEBUG level event on DeployGate.
public static LogDebug ( string text ) : void
text string
return void

LogError() public static method

Record ERROR level event on DeployGate.
public static LogError ( string text ) : void
text string
return void

LogInfo() public static method

Record INFO level event on DeployGate.
public static LogInfo ( string text ) : void
text string
return void

LogVerbose() public static method

Record VERBOSE level event on DeployGate.
public static LogVerbose ( string text ) : void
text string
return void

LogWarn() public static method

Record WARN level event on DeployGate.
public static LogWarn ( string text ) : void
text string
return void

Refresh() public static method

Request refreshing cached session values (e.g., isAuthorized, etc.) to the DeployGate service.
public static Refresh ( ) : void
return void