net9.0-ios17.2
namespace GameKit
{
[ObsoletedOSPlatform("ios7.0", "Use 'GKVoiceChat' instead.")]
[ObsoletedOSPlatform("maccatalyst13.1", "Use 'GKVoiceChat' instead.")]
[Protocol(Name = "GKVoiceChatClient", WrapperType = typeof(GKVoiceChatClientWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ParticipantID", ReturnType = typeof(string), Selector = "participantID")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SendData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKVoiceChatService), typeof(NSData), typeof(string) }, Selector = "voiceChatService:sendData:toParticipantID:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SendRealTimeData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKVoiceChatService), typeof(NSData), typeof(string) }, Selector = "voiceChatService:sendRealTimeData:toParticipantID:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Started", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(GKVoiceChatService), typeof(string) }, Selector = "voiceChatService:didStartWithParticipantID:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedToConnect", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKVoiceChatService), typeof(string), typeof(NSError) }, Selector = "voiceChatService:didNotStartWithParticipantID:error:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Stopped", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKVoiceChatService), typeof(string), typeof(NSError) }, Selector = "voiceChatService:didStopWithParticipantID:error:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedInvitation", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKVoiceChatService), typeof(string), typeof(IntPtr) }, Selector = "voiceChatService:didReceiveInvitationFromParticipantID:callID:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[UnsupportedOSPlatform("macos")]
[UnsupportedOSPlatform("tvos")]
public interface IGKVoiceChatClient : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("participantID")]
[Preserve(Conditional = true)]
string! ParticipantID();
}
}
Assembly | Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
.NET | 6.07.08.09.0 |
Platform Specific Frameworks | |
net9.0-ios | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
net9.0-maccatalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
Platform Restrictions | For the selected framework this API is only supported on the following OS platforms:
|