readDeviceSetting
Reads a device setting.
Import:
import { readDeviceSetting } from 'obsidian-integration-testing';Signature:
function readDeviceSetting(params: DeviceSettingParams): Promise<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | DeviceSettingParams | The 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: