Share via


IGKChallengeEventHandlerDelegate Interface

Definition

A delegate object that allows the application developer fine-grained response to life-cycle events relating to GKChallenges, such as receiving or completing a challenge.

[Foundation.Protocol(Name="GKChallengeEventHandlerDelegate", WrapperType=typeof(GameKit.GKChallengeEventHandlerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LocalPlayerSelectedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="localPlayerDidSelectChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldShowBannerForLocallyReceivedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, ReturnType=typeof(System.Boolean), Selector="shouldShowBannerForLocallyReceivedChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LocalPlayerReceivedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="localPlayerDidReceiveChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldShowBannerForLocallyCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, ReturnType=typeof(System.Boolean), Selector="shouldShowBannerForLocallyCompletedChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LocalPlayerCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="localPlayerDidCompleteChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldShowBannerForRemotelyCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, ReturnType=typeof(System.Boolean), Selector="shouldShowBannerForRemotelyCompletedChallenge:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RemotePlayerCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="remotePlayerDidCompleteChallenge:")]
public interface IGKChallengeEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GKChallengeEventHandlerDelegate", WrapperType=typeof(GameKit.GKChallengeEventHandlerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LocalPlayerSelectedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="localPlayerDidSelectChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldShowBannerForLocallyReceivedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, ReturnType=typeof(System.Boolean), Selector="shouldShowBannerForLocallyReceivedChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LocalPlayerReceivedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="localPlayerDidReceiveChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldShowBannerForLocallyCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, ReturnType=typeof(System.Boolean), Selector="shouldShowBannerForLocallyCompletedChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LocalPlayerCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="localPlayerDidCompleteChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldShowBannerForRemotelyCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, ReturnType=typeof(System.Boolean), Selector="shouldShowBannerForRemotelyCompletedChallenge:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RemotePlayerCompletedChallenge", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKChallenge) }, Selector="remotePlayerDidCompleteChallenge:")>]
type IGKChallengeEventHandlerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
LocalPlayerCompletedChallenge(GKChallenge)
LocalPlayerReceivedChallenge(GKChallenge)
LocalPlayerSelectedChallenge(GKChallenge)
RemotePlayerCompletedChallenge(GKChallenge)
ShouldShowBannerForLocallyCompletedChallenge(GKChallenge)
ShouldShowBannerForLocallyReceivedChallenge(GKChallenge)
ShouldShowBannerForRemotelyCompletedChallenge(GKChallenge)

Extension Methods

Name Description
LocalPlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
LocalPlayerReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
LocalPlayerSelectedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
RemotePlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForLocallyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForLocallyReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
ShouldShowBannerForRemotelyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also