Boron
Boron

Reputation: 129

Google Play Games RealTime Multiplayer Add Images

I am making a simple multiplayer game in Android, have implemented Google Play Games Real-Time Multiplayer API and it works as expected(RealTime Api). However, I am trying to send my profile picture image to the other participant or send e.g a small image for both of them to see at the same time. Is this possible with the provided API or do I need to write a custom implementation for this?

Upvotes: 0

Views: 63

Answers (1)

Mr.Rebot
Mr.Rebot

Reputation: 6791

You want to show the player's icon right? You might want to check this related SO post 1 and SO post 2. They both use ImageManager and you can also try using getIconImageUri().

Returns the URI of the icon-sized image to display for this participant. If the identity of the player is unknown, this will be the automatch avatar icon image for the player. It may also be null if the player simply has no image.

Upvotes: 0

Related Questions