Quicknav Quicknav
Links

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

Android Sites

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

close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## 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.
RealTimeReliableMessageSentListener | This interface is deprecated. See `RealTimeMultiplayer.ReliableMessageSentCallback`.
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.