GKPlayer.LoadPhoto(GKPhotoSize, GKPlayerPhotoLoaded) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- size
- GKPhotoSize
- Attributes