Skip to main content
Version: next

getDevices

namespace AdbServerClient {
interface Device {
serial: string;
authenticating: boolean;
product?: string;
model?: string;
device?: string;
transportId: bigint;
}
}

declare class AdbServerClient {
getDevices(): Promise<AdbServerClient.Device[]>;
}

Gets all connected devices.

note

See Get devices page for details.

Equivalent ADB Command
adb devices -l