@u4/adbkit
    Preparing search index...

    Interface Device

    interface Device {
        getClient: () => DeviceClient;
        id: string;
        type:
            | "emulator"
            | "device"
            | "offline"
            | "unauthorized"
            | "recovery"
            | "unknown";
    }

    Hierarchy (View Summary)

    Index
    getClient: () => DeviceClient

    return a DeviceClient attached to this devices

    id: string

    The ID of the device. For real devices, this is usually the USB identifier.

    type:
        | "emulator"
        | "device"
        | "offline"
        | "unauthorized"
        | "recovery"
        | "unknown"

    The device type. Values include 'emulator' for emulators, 'device' for devices, and 'offline' for offline devices. 'offline' can occur for example during boot, in low-battery conditions or when the ADB connection has not yet been approved on the device.