IGKTurnBasedEventHandlerDelegate 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 is allows fine-grained response to GKTurnBasedEventHandler events.
[Foundation.Protocol(Name="GKTurnBasedEventHandlerDelegate", WrapperType=typeof(GameKit.GKTurnBasedEventHandlerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleInviteFromGameCenter", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString[]) }, Selector="handleInviteFromGameCenter:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="HandleTurnEventForMatch", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKTurnBasedMatch) }, Selector="handleTurnEventForMatch:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="HandleMatchEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKTurnBasedMatch) }, Selector="handleMatchEnded:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTurnEvent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKTurnBasedMatch), typeof(System.Boolean) }, Selector="handleTurnEventForMatch:didBecomeActive:")]
public interface IGKTurnBasedEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GKTurnBasedEventHandlerDelegate", WrapperType=typeof(GameKit.GKTurnBasedEventHandlerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleInviteFromGameCenter", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSString[]) }, Selector="handleInviteFromGameCenter:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="HandleTurnEventForMatch", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKTurnBasedMatch) }, Selector="handleTurnEventForMatch:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="HandleMatchEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameKit.GKTurnBasedMatch) }, Selector="handleMatchEnded:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTurnEvent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKTurnBasedMatch), typeof(System.Boolean) }, Selector="handleTurnEventForMatch:didBecomeActive:")>]
type IGKTurnBasedEventHandlerDelegate = 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 |
|---|---|
| HandleInviteFromGameCenter(NSString[]) |
Developers should not use this deprecated method. |
| HandleMatchEnded(GKTurnBasedMatch) |
Developers should not use this deprecated method. |
| HandleTurnEvent(GKTurnBasedMatch, Boolean) | |
| HandleTurnEventForMatch(GKTurnBasedMatch) | |
Extension Methods
| Name | Description |
|---|---|
| HandleMatchEnded(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch) |
Developers should not use this deprecated method. |
| HandleTurnEventForMatch(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch) | |
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |