com.google.android.gms.games.multiplayer.realtime | 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
  - Tools & Reference
  - Developer Stories

## Results

Loading...
package

# com.google.android.gms.games.multiplayer.realtime

Contains data classes for real-time multiplayer functionality.

## Interfaces

RealTimeMessageReceivedListener | Listener for message received callback, which is called when the client receives a message from a peer.
RealTimeMultiplayer | Entry point for real-time multiplayer functionality.
RealTimeMultiplayer.ReliableMessageSentCallback | The listener for callback that is called when a reliable message is sent successfully.
RealTimeSocket | Provides a Socket-like interface for a real-time data connection to a participant in a real-time room.
Room | Data interface for room functionality.
RoomStatusUpdateListener | Listener invoked when the status of a room, status of its participants or connection status of the participants has changed.
RoomUpdateListener | The listener invoked when the state of the room has changed.

## Classes

RealTimeMessage | Message received from participants in a real-time room, which is passed to the client.
RoomConfig | Configuration for a new room.
RoomConfig.Builder | Builder class for `RoomConfig`.
RoomEntity | Data object representing the data for a room.