Quests.LoadQuestsResult | 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.LoadQuestsResult

implements Result Releasable

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

## Class Overview

Result delivered when quest data has been loaded.

Possible status codes include:

- `STATUS_OK` if data was successfully loaded and is up-to-date.
- `STATUS_NETWORK_ERROR_NO_DATA` if the device was unable to retrieve any data from the network and has no data cached locally.
- `STATUS_NETWORK_ERROR_STALE_DATA` if the device was unable to retrieve the latest data from the network, but has some data cached locally.
- `STATUS_INTERNAL_ERROR` if an unexpected error occurred in the service.

## Summary

Public Methods
abstract QuestBuffer | getQuests() Retrieves all loaded quests who's state is one of the states in the provided state list.

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

## Public Methods

#### public abstract QuestBuffer getQuests ()

Retrieves all loaded quests who's state is one of the states in the provided state list.

##### Returns

- A collection of quests order by last updated timestamp.