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?
Asked
Active
Viewed 60 times
1 Answers
0
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.

Mr.Rebot
- 6,703
- 2
- 16
- 91
-
Not necessarily setting the player's icon, but rather the other player's icon. Like it needs to be stored somewhere temporarily on the cloud in order for the other participant to retrieve it. – Boron Aug 30 '18 at 08:47