Skip to content

readDeviceSetting

Reads a device setting.

Import:

import { readDeviceSetting } from 'obsidian-integration-testing';

Signature:

function readDeviceSetting(params: DeviceSettingParams): Promise<string>

Parameters:

ParameterTypeDescription
paramsDeviceSettingParamsThe device, the setting and its namespace.

Returns: Promise<string> — A Promise that resolves to the setting’s value, or the literal null when it has never been written.


Links to this page: