Function: resource.Get

Gets a resource from the Extension.

Syntax

{
	"method": "ext.deviceadapter.resource.Get",
	"params": {
		"url": "...",
		"props": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<ResourceResult> ResourceGet( AdvString url, AdvObject props );
public Task<ResourceResult> ResourceGetAsync(string url, IDictionary<string, object?> props, CancellationToken ct = default);
resourceGet(url: string, props: Map<string, Object>): Promise<ResourceResult>;

Parameters

url : string

The parameter value is AopUrl.

The resource URL.

props : value{}

The parameter key is Symbol.

Additional Properties required to get the resource.

Result : ResourceResult