BooleanResult

public classBooleanResultimplementsResult

AResultwith a boolean value.

Summary

Public fields

finalStatus
final boolean

Public methods

final boolean
Status

Returns the status of this result.

boolean

Returns the boolean value of this result.

final int

Public fields

status

public finalStatusstatus

value

public final booleanvalue

Public methods

equals

public final booleanequals(@NullableObjectobj)

getStatus

publicStatusgetStatus()

Returns the status of this result. UseisSuccessto determine whether the call was successful, andgetStatusCodeto 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 viagetResolution.

getValue

public booleangetValue()

Returns the boolean value of this result.

hashCode

public final inthashCode()