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

Represent a result from the command `adb`.

## Constructor: AdbResult
- parameter: `output`, type: `byte[]`


## Static Field: ADB_ERROR
Type: `java.lang.String`

Constant value: `adb_error_sent_to_jeb`

## Method: getOutput
- return type: `byte[]`


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


## Method: isSuccess
- return type: `boolean`


## Method: isSuccess
- parameter: `expectOuput`, type: `java.lang.Boolean`
- return type: `boolean`


## Method: isSuccess
- parameter: `expectOuput`, type: `java.lang.Boolean`
- parameter: `verifyGenericErrors`, type: `boolean`
- parameter: `knownErrorMessages`, type: `java.lang.String[]`
- return type: `boolean`

Description: Unified method to validate that an adb command was executed correctly
parameter: expectOuput: Indicate if there is an expected output stream result. Set null to bypass,            true to check that there is an output message, false to check that there is not.
parameter: verifyGenericErrors: Indicate if we should verify some common error messages.
parameter: knownErrorMessages: Specific known error messages raised by this command.
return: true on success, false on error

