Type String Return value none Revision 2017.3060 Keywords Google Play Games Services, game network, gpgs, loadImage See also gpgs.*
Loads an image from Google's servers using a special Google Play Services URI and writes it to a specified file as a PNG image.
On iOS, image URIs are simple HTTP URLs, but you can still use this function to load images.
gpgs.loadImage( params )
Table. Contains parameters for the request — see the next section for details.
The params
table includes parameters for the request.
String. Image resource URI retrieved from another call such as gpgs.players.load().
String. Path for the PNG image file to be saved.
Constant. Optional constant corresponding to the base directory where the file will be saved. Default value is system.CachesDirectory.