編輯

共用方式為


IGKVoiceChatClient Interface

Definition

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

[Foundation.Protocol(Name="GKVoiceChatClient", WrapperType=typeof(GameKit.GKVoiceChatClientWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKVoiceChat' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKVoiceChatClient : IDisposable, ObjCRuntime.INativeObject
type IGKVoiceChatClient = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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

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 GKVoiceChatClient protocol.

Optional methods (if any) are provided by the GKVoiceChatClient_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)

Methods

ParticipantID()
SendData(GKVoiceChatService, NSData, String)

Extension Methods

FailedToConnect(IGKVoiceChatClient, GKVoiceChatService, String, NSError)
ReceivedInvitation(IGKVoiceChatClient, GKVoiceChatService, String, nint)
SendRealTimeData(IGKVoiceChatClient, GKVoiceChatService, NSData, String)
Started(IGKVoiceChatClient, GKVoiceChatService, String)
Stopped(IGKVoiceChatClient, GKVoiceChatService, String, NSError)

Applies to