public class

BooleanResult

extends Object
implements Result
java.lang.Object
   ↳ com.google.android.gms.common.api.BooleanResult

Class Overview

A Result with a boolean value.

Summary

Public Methods
final boolean equals(Object obj)
Status getStatus()
Returns the status of this result.
boolean getValue()
final int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.android.gms.common.api.Result

Public Methods

public final boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public Status getStatus ()

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

Returns
Status

public boolean getValue ()

Returns
boolean the boolean value of this result.

public final int hashCode ()

Returns
int