Ruyi SDK
Namespaces
Ruyi
RuyiSDK Class
RuyiSDK Methods
CheckJsonResult Method
CreateInstance Method
Dispose Method
Click or drag to resizeClick or drag to resize

RuyiSDKCreateInstance Method

[This is preliminary documentation and is subject to change.]

Create a new SDK instance with the given context.

Namespace:  Ruyi
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public static RuyiSDK CreateInstance(
	RuyiSDKContext cont
)

Parameters

cont
Type: RuyiRuyiSDKContext
context used to create the sdk instance

Return Value

Type: RuyiSDK
the created instance, null if context is not valid
Remarks
this method use blocking calls like Wait(), WaitAll(), .Rsult() on async methods, so invoke it on UI thread will cause dead-lock, please handle this by yourself
See Also

Reference

RuyiSDK Class
Ruyi Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com