GKPlayer.LoadPhoto(GKPhotoSize, GKPlayerPhotoLoaded) Método

Definição

Carrega a foto do jogador do Game Center e executa um manipulador de conclusão depois que a foto é carregada.

[Foundation.Export("loadPhotoForSize:withCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LoadPhoto (GameKit.GKPhotoSize size, GameKit.GKPlayerPhotoLoaded onCompleted);
abstract member LoadPhoto : GameKit.GKPhotoSize * GameKit.GKPlayerPhotoLoaded -> unit
override this.LoadPhoto : GameKit.GKPhotoSize * GameKit.GKPlayerPhotoLoaded -> unit

Parâmetros

onCompleted
GKPlayerPhotoLoaded

A ser adicionado.

Esse parâmetro pode ser null.

Atributos

Aplica-se a