IGKChallengeEventHandlerDelegate Interface
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.
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) |