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

# Quests.ClaimMilestoneResult

implements Result

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

## Class Overview

Result delivered when claiming a milestone.

Possible status codes include:

- `STATUS_OK` the milestone was successfully claimed.
- `STATUS_MILESTONE_CLAIMED_PREVIOUSLY` if the milestone was previously claimed for this player.
- `STATUS_MILESTONE_CLAIM_FAILED` if the milestone is not currently eligible for claiming. Usually, this means that the quest has expired or the local event counts are out of sync with the server.
- `STATUS_NETWORK_ERROR_OPERATION_FAILED` if the network request to claim the milestone fails failed.
- `STATUS_INTERNAL_ERROR` if an unexpected error occurred in the service.

## Summary

Public Methods
abstract Milestone | getMilestone()
abstract Quest | getQuest()

[Expand] Inherited Methods
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus() Returns the status of this result.

## Public Methods

#### public abstract Milestone getMilestone ()

##### Returns

- The claimed milestone. This will be null if the claim operation did not succeed.

#### public abstract Quest getQuest ()

##### Returns

- The quest owning the claimed milestone. This will be null if the claim operation did not succeed.