Class CloudCode
Obsolete, please use CloudCodeService.Instance
Inherited Members
Namespace: Unity.Services.CloudCode
Assembly: Unity.Services.CloudCode.dll
Syntax
[Obsolete("The interface provided by CloudCode has moved to CloudCodeService.Instance, and should be accessed from there instead. This API will be removed in an upcoming release.")]
public static class CloudCode
Methods
CallEndpointAsync(string, object)
Obsolete, please use CloudCodeService.Instance
Declaration
[Obsolete("The interface provided by CloudCode.CallEndpointAsync(string, object) has been replaced by CloudCodeService.Instance.CallEndpointAsync(string, Dictionary<string, object>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static Task<string> CallEndpointAsync(string function, object args)
Parameters
| Type | Name | Description |
|---|---|---|
| string | function | Obsolete, please use CloudCodeService.Instance |
| object | args | Obsolete, please use CloudCodeService.Instance |
Returns
| Type | Description |
|---|---|
| Task<string> | Obsolete, please use CloudCodeService.Instance |
CallEndpointAsync<TResult>(string, object)
Obsolete, please use CloudCodeService.Instance
Declaration
[Obsolete("The interface provided by CloudCode.CallEndpointAsync<TResult>(string, object) has been replaced by CloudCodeService.Instance.CallEndpointAsync<TResult>(string, Dictionary<string, object>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static Task<TResult> CallEndpointAsync<TResult>(string function, object args)
Parameters
| Type | Name | Description |
|---|---|---|
| string | function | Obsolete, please use CloudCodeService.Instance |
| object | args | Obsolete, please use CloudCodeService.Instance |
Returns
| Type | Description |
|---|---|
| Task<TResult> | Obsolete, please use CloudCodeService.Instance |
Type Parameters
| Name | Description |
|---|---|
| TResult | Obsolete, please use CloudCodeService.Instance |