Skip to content

buildDeviceSettingsCommandArguments

Builds the arguments for adb shell settings <verb> <namespace> <name> [value].

Import:

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

Signature:

function buildDeviceSettingsCommandArguments(params: BuildDeviceSettingsCommandArgumentsParams): string[]

Parameters:

ParameterTypeDescription
paramsBuildDeviceSettingsCommandArgumentsParamsThe sub-command, the setting, its namespace and — for a write — its value.

Returns: string[] — The arguments to hand to runAdbText, shell included.


Links to this page: