| 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 public static RuyiSDK CreateInstance(
RuyiSDKContext cont
)
Parameters
- cont
- Type: RuyiRuyiSDKContext
context used to create the sdk instance
Return Value
Type:
RuyiSDKthe 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