GKPlayer.LoadPhoto(GKPhotoSize, GKPlayerPhotoLoaded) 方法

定义

从游戏中心加载玩家的照片,并在加载照片后运行完成处理程序。

[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

参数

onCompleted
GKPlayerPhotoLoaded

内容待定。

此参数可以为 null

属性

适用于