Edit

Share via


IGKChallengeEventHandlerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol GKChallengeEventHandlerDelegate.

[Foundation.Protocol(Name="GKChallengeEventHandlerDelegate", WrapperType=typeof(GameKit.GKChallengeEventHandlerDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKChallengeEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GKChallengeEventHandlerDelegate", WrapperType=typeof(GameKit.GKChallengeEventHandlerDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKChallengeEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
type IGKChallengeEventHandlerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by GKChallengeEventHandlerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the GKChallengeEventHandlerDelegate protocol.

Optional methods (if any) are provided by the GKChallengeEventHandlerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

LocalPlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
LocalPlayerReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
LocalPlayerSelectedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
RemotePlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForLocallyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForLocallyReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForRemotelyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Applies to