TurnBasedMultiplayer.UpdateMatchResult | 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

# TurnBasedMultiplayer.UpdateMatchResult

implements Result

com.google.android.gms.games.multiplayer.turnbased.TurnBasedMultiplayer.UpdateMatchResult

## Class Overview

Result delivered when match has been updated. Possible status codes include:

- `STATUS_OK` if data was successfully loaded and is up-to-date.
- `STATUS_NETWORK_ERROR_OPERATION_DEFERRED` if the attempt to leave the match resulted in a network error. The operation was stored locally, and will be retried the next time the device comes online. No further action is required.
- `STATUS_MATCH_ERROR_LOCALLY_MODIFIED` if the match has already been modified locally and has changes waiting to be synced to the server. The update operation was not executed.
- `STATUS_MATCH_ERROR_INACTIVE_MATCH` if the match has already transitioned into an inactive state on the server.
- `STATUS_MATCH_ERROR_OUT_OF_DATE_VERSION` if the local match state was out of date. In this case, the updated match will be returned.
- `STATUS_MULTIPLAYER_ERROR_NOT_TRUSTED_TESTER` if one of the users in the match is not a trusted tester of a game which is not yet published.
- `STATUS_MULTIPLAYER_ERROR_INVALID_OPERATION` if the server rejected the operation.
- `STATUS_MULTIPLAYER_DISABLED` if the game does not support multiplayer.
- `STATUS_CLIENT_RECONNECT_REQUIRED` if the client needs to reconnect to the service to access this data.
- `STATUS_INTERNAL_ERROR` if an unexpected error occurred in the service.

## Summary

Public Methods
abstract TurnBasedMatch | getMatch()

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

## Public Methods

#### public abstract TurnBasedMatch getMatch ()

##### Returns

- The updated `TurnBasedMatch` object. Note that this may be null, depending on the status code returned.