Skip to main content
Version: 0.0.24

trackDevices

declare class AdbServerClient {
trackDevices(
signal?: AbortSignal
): AsyncGenerator<AdbServerClient.Device[], void, void>;
}

Get notified when a device is connected or disconnected.

note

See Watch devices page for details.

Equivalent ADB Command

There is no equivalent ADB command.