Quests.AcceptQuestResult | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Methods | Inherited Methods | [Expand All]
public static interface

# Quests.AcceptQuestResult

implements Result

com.google.android.gms.games.quest.Quests.AcceptQuestResult

## Class Overview

Result delivered when accepting a quest.

Possible status codes include:

- `STATUS_OK` if the request was successful and the quest is updated after accepting.
- `STATUS_NETWORK_ERROR_NO_DATA` if the device was unable to retrieve any data from the network and has no data cached locally.
- `STATUS_INTERNAL_ERROR` if an unexpected error occurred in the service.

## Summary

Public Methods
abstract Quest | getQuest()

[Expand] Inherited Methods
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus()

## Public Methods

#### public abstract Quest getQuest ()

##### Returns

- The quest that was accepted. This will be null if the accept operation did not succeed.