Stay organized with collections Save and categorize content based on your preferences.
public class BooleanResult extends Object
implements Result

A Result with a boolean value.

Public Method Summary

final boolean
Returns the status of this result.
final int

Inherited Method Summary

Public Methods

public final boolean equals (Object obj)

public Status getStatus ()

Returns the status of this result. Use Status.isSuccess() to determine whether the call was successful, and Status.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 via Status.getResolution().

public boolean getValue ()

  • the boolean value of this result.

public final int hashCode ()