Function: settings.GetValue

Returns the value of a concrete setting item for the given context and origin.

Syntax

{
	"method": "settings.GetValue",
	"params": {
		"key": "...",
		"origin": "...",
		"context": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<AdvValue> GetValue( AdvString key
	 std::optional<AdvString> origin = std::nullopt,
	 std::optional<std::vector<SettingTarget>> context = std::nullopt );
public Task<object?> GetValueAsync(string key,
		string? origin = null,
		IList<SettingTarget>? context = null,
		CancellationToken ct = default);
getValue(key: string, origin?: string | undefined, context?: SettingTarget[] | undefined): Promise<Object>;

Parameters

key : string

Key of the concrete setting item to return.

origin : string optional

Scope for the request.

context : SettingTarget[] optional

List of involved targets.

Result : value

Value of the concrete setting item.