更新时间:2023-02-02 19:31:02
我像这样使用ImageManager
尝试它:
Uri icon = Games.Players.getCurrentPlayer(googleApiClient).getIconImageUri();
ImageManager manager = ImageManager.create(this);
manager.loadImage(photo, icon);
我还没有在LeaderboardScore
上尝试过,但是我认为它是相同的.因为Uri格式是content://com.google.android.gms.games.background/blablabla
I haven't tried it yet on LeaderboardScore
, but I think it will be same. since the Uri format is same content://com.google.android.gms.games.background/blablabla