NAME

Android::ADB::Device - information about an Android device

SYNOPSIS

use Android::ADB;
my @devices = $adb->devices;
say $devices[0]->serial;
say $devices[0]->state; # e.g. offline, bootloader, sideload, or device

# The available attributes depend on your device
say $devices[0]->usb;     # e.g. 2-1
say $devices[0]->product; # e.g. angler
say $devices[0]->model;   # e.g. MI_MAX
say $devices[0]->device;  # e.g. angler

DESCRIPTION

Information about an Android device in form of a blessed hash with a few accessors. See SYNPOSIS for a list of accessors.

SEE ALSO

Android::ADB

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.2 or, at your option, any later version of Perl 5 you may have available.