Skip to main content

Devices

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

List running Android emulators and devices and iOS simulators, with their serial or UDID, state and model. These call app_devices.

Devices​

func (d *Device) Devices(ctx context.Context) ([]DeviceInfo, error)

Devices lists every attached device and simulator.

Examples​

List the devices mobium can see​

devices, err := dev.Devices(ctx)
if err != nil {
return err
}
for _, d := range devices {
fmt.Println(d.ID, d.Platform, d.State)
}

The same call from the command line, mobium devices, printed on an Android 15 emulator:

emulator-5554 device (android emulator, model: sdk_gphone64_arm64)