IGKSavedGameListener 接口

定义

表示所需方法的接口 ((如果协议 GKSavedGameListener有任何) )。

[Foundation.Protocol(Name="GKSavedGameListener", WrapperType=typeof(GameKit.GKSavedGameListenerWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKSavedGameListener : IDisposable, ObjCRuntime.INativeObject
type IGKSavedGameListener = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

注解

此接口包含所需的方法 ((如果任何) 由 GKSavedGameListener定义的协议)。

如果开发人员创建实现此接口的类,则实现方法将自动导出到 Objective-C,并使用协议中 GKSavedGameListener 定义的方法的匹配签名。

可选方法 (类是否提供 GKSavedGameListener_Extensions 任何) 作为接口的扩展方法,从而允许开发人员在协议上调用任何可选方法。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

扩展方法

DidModifySavedGame(IGKSavedGameListener, GKPlayer, GKSavedGame)

表示所需方法的接口 ((如果协议 GKSavedGameListener有任何) )。

HasConflictingSavedGames(IGKSavedGameListener, GKPlayer, GKSavedGame[])

表示所需方法的接口 ((如果协议 GKSavedGameListener有任何) )。

适用于