BooleanResult

public classBooleanResultextendsObject
implementsResult

AResultwith a boolean value.

Public Method Summary

final boolean
Status
getStatus()
Returns the status of this result.
boolean
getValue()
Returns the boolean value of this result.
final int

Inherited Method Summary

Public Methods

public final booleanequals(Objectobj)

publicStatus getStatus()

Returns the status of this result. UseStatus.isSuccess() to determine whether the call was successful, andStatus.getStatusCode() to determine what the error cause was.

Certain errors are due to failures that can be resolved by launching a particular intent. The resolution intent is available viaStatus.getResolution().

public booleangetValue()

Returns the boolean value of this result.

public final inthashCode()