Android::ADB::Device - information about an Android device
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
Information about an Android device in form of a blessed hash with a few accessors. See SYNPOSIS for a list of accessors.
Android::ADB
Marius Gavrilescu, <marius@ieval.ro>
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.
To install Android::ADB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Android::ADB
CPAN shell
perl -MCPAN -e shell install Android::ADB
For more information on module installation, please visit the detailed CPAN module installation guide.