Type String Return value none Revision Release 2024.3703 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.
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.
Listener. Listener function which receives a loadImage event.