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.