GKPlayer.LoadPhoto(GKPhotoSize, GKPlayerPhotoLoaded) Method

Definition

Loads the player's photo from the Game Center and runs a completion handler after the photo is loaded.

[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

Parameters

onCompleted
GKPlayerPhotoLoaded

To be added.

This parameter can be null.

Attributes

Applies to