Stay organized with collections
Save and categorize content based on your preferences.
public class BooleanResult implements Result
A Result with a boolean value.
Summary
Public fields |
final Status |
|
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
public final boolean value
Public methods
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.
public boolean getValue()
Returns the boolean value of this result.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],[]]