# Class: com.pnfsoftware.jeb.core.units.code.android.adb.AdbDevice

Description of an Android device. The most important detail about a device is its serial number. The case of that serial number, as returned by ADB, matters when selecting a device with ADB.

## Constructor: AdbDevice
- parameter: `serial`, type: `java.lang.String`
- parameter: `status`, type: `com.pnfsoftware.jeb.core.units.code.android.adb.AdbDeviceStatus`

Description: Create a device descriptor.
parameter: serial: device serial
parameter: status: device status

## Constructor: AdbDevice
- parameter: `serial`, type: `java.lang.String`
- parameter: `status`, type: `com.pnfsoftware.jeb.core.units.code.android.adb.AdbDeviceStatus`
- parameter: `name`, type: `java.lang.String`
- parameter: `model`, type: `java.lang.String`
- parameter: `device`, type: `java.lang.String`

Description: Create a device descriptor.
parameter: serial: device serial
parameter: status: device status
parameter: name: product name, or null
parameter: model: model name, or null
parameter: device: device name, or null

## Field: status
Type: `com.pnfsoftware.jeb.core.units.code.android.adb.AdbDeviceStatus`
Description: Device connection status.

## Method: getDevice
- return type: `java.lang.String`

Description: Retrieve the device name.
return: device name, or null

## Method: getModel
- return type: `java.lang.String`

Description: Retrieve the model name.
return: model name, or null

## Method: getName
- return type: `java.lang.String`

Description: Retrieve the product name.
return: product name, or null

## Method: getSerial
- return type: `java.lang.String`

Description: Retrieve the device serial.
return: device serial

## Method: getStatus
- return type: `com.pnfsoftware.jeb.core.units.code.android.adb.AdbDeviceStatus`

Description: Retrieve the device status.
return: device status

## Method: toString
- return type: `java.lang.String`


