Skip to content

selectEmulatorDeviceId

Picks the emulator started from a named AVD.

Import:

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

Signature:

function selectEmulatorDeviceId(params: SelectEmulatorDeviceIdParams): string | null

Parameters:

ParameterTypeDescription
paramsSelectEmulatorDeviceIdParamsThe AVD to match and the running emulators to match against.

Returns: string | null — The matching device UDID, or null when no running emulator carries that AVD name.


Links to this page: