Type String Return value none Revision Release 2024.3703 Keywords Google Play Games Services, game network, gpgs See also gpgs.*
Loads an image from Google’s server using a special Google Play Services URI and writes it to a specified file as a PNG image.
gpgs.loadImage(params)
Table. Contains parameters — see the next section for details.
String. Image resource URI, it must be something that was retrieved from another call to Google Play services.
String. Path for the to be saved PNG image file.
Constant. Constant corresponding to the base directory where the file will be located. Default value is system.CachesDirectory
if the parameter is not provided.
Listener. Receives loadImage event.