Share via


IGKVoiceChatClient Interface

Definition

The model that GKVoiceChatService uses.

[Foundation.Protocol(Name="GKVoiceChatClient", WrapperType=typeof(GameKit.GKVoiceChatClientWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SendData", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(Foundation.NSData), typeof(System.String) }, Selector="voiceChatService:sendData:toParticipantID:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ParticipantID", ReturnType=typeof(System.String), Selector="participantID")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SendRealTimeData", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(Foundation.NSData), typeof(System.String) }, Selector="voiceChatService:sendRealTimeData:toParticipantID:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Started", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String) }, Selector="voiceChatService:didStartWithParticipantID:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToConnect", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String), typeof(Foundation.NSError) }, Selector="voiceChatService:didNotStartWithParticipantID:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Stopped", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String), typeof(Foundation.NSError) }, Selector="voiceChatService:didStopWithParticipantID:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReceivedInvitation", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String), typeof(System.IntPtr) }, Selector="voiceChatService:didReceiveInvitationFromParticipantID:callID:")]
public interface IGKVoiceChatClient : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GKVoiceChatClient", WrapperType=typeof(GameKit.GKVoiceChatClientWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SendData", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(Foundation.NSData), typeof(System.String) }, Selector="voiceChatService:sendData:toParticipantID:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ParticipantID", ReturnType=typeof(System.String), Selector="participantID")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SendRealTimeData", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(Foundation.NSData), typeof(System.String) }, Selector="voiceChatService:sendRealTimeData:toParticipantID:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Started", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String) }, Selector="voiceChatService:didStartWithParticipantID:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToConnect", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String), typeof(Foundation.NSError) }, Selector="voiceChatService:didNotStartWithParticipantID:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Stopped", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String), typeof(Foundation.NSError) }, Selector="voiceChatService:didStopWithParticipantID:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReceivedInvitation", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKVoiceChatService), typeof(System.String), typeof(System.IntPtr) }, Selector="voiceChatService:didReceiveInvitationFromParticipantID:callID:")>]
type IGKVoiceChatClient = 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
FailedToConnect(GKVoiceChatService, String, NSError)
ParticipantID()
ReceivedInvitation(GKVoiceChatService, String, IntPtr)
SendData(GKVoiceChatService, NSData, String)
SendRealTimeData(GKVoiceChatService, NSData, String)
Started(GKVoiceChatService, String)
Stopped(GKVoiceChatService, String, NSError)

Extension Methods

Name Description
FailedToConnect(IGKVoiceChatClient, GKVoiceChatService, String, NSError)
ReceivedInvitation(IGKVoiceChatClient, GKVoiceChatService, String, IntPtr)
SendRealTimeData(IGKVoiceChatClient, GKVoiceChatService, NSData, String)
Started(IGKVoiceChatClient, GKVoiceChatService, String)
Stopped(IGKVoiceChatClient, GKVoiceChatService, String, NSError)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also