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

Represent a result from the command `adb`.

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

Description: Create an ADB result.
parameter: output: command output bytes

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

Constant value: `adb_error_sent_to_jeb`
Description: Marker appended by shell commands to signal an ADB execution error.

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

Description: Retrieve the command output bytes.
return: output bytes, or null

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

Description: Retrieve the command output as a string.
return: decoded output string

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

Description: Determine whether the command completed successfully.
return: true on success

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

Description: Determine whether the command completed successfully.
parameter: expectOuput: expected output presence, or null to ignore
return: true on success

## 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

