Skip to main content
Version: 0.0.24

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