Package apple.gamekit.protocol
Interface GKVoiceChatClient
-
@Deprecated public interface GKVoiceChatClientDeprecated.All clients will need to implement this protocol API-Since: 3.0 Deprecated-Since: 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description @NotNull java.lang.StringparticipantID()Deprecated.must be sent within some reasonble period of time and should accept at least 512 bytes.default voidvoiceChatServiceDidNotStartWithParticipantIDError(@NotNull GKVoiceChatService voiceChatService, @NotNull java.lang.String participantID, @Nullable NSError error)Deprecated.default voidvoiceChatServiceDidReceiveInvitationFromParticipantIDCallID(@NotNull GKVoiceChatService voiceChatService, @NotNull java.lang.String participantID, long callID)Deprecated.default voidvoiceChatServiceDidStartWithParticipantID(@NotNull GKVoiceChatService voiceChatService, @NotNull java.lang.String participantID)Deprecated.default voidvoiceChatServiceDidStopWithParticipantIDError(@NotNull GKVoiceChatService voiceChatService, @NotNull java.lang.String participantID, @Nullable NSError error)Deprecated.voidvoiceChatServiceSendDataToParticipantID(@NotNull GKVoiceChatService voiceChatService, @NotNull NSData data, @NotNull java.lang.String participantID)Deprecated.this channel will only be used to setup voice chat, and not to send audio data.default voidvoiceChatServiceSendRealTimeDataToParticipantID(@NotNull GKVoiceChatService voiceChatService, @NotNull NSData data, @NotNull java.lang.String participantID)Deprecated.should be sent immediately with no delay on a UDP peer-to-peer connection.
-
-
-
Method Detail
-
participantID
@NotNull @NotNull java.lang.String participantID()
Deprecated.must be sent within some reasonble period of time and should accept at least 512 bytes.
-
voiceChatServiceDidNotStartWithParticipantIDError
default void voiceChatServiceDidNotStartWithParticipantIDError(@NotNull @NotNull GKVoiceChatService voiceChatService, @NotNull @NotNull java.lang.String participantID, @Nullable @Nullable NSError error)Deprecated.
-
voiceChatServiceDidReceiveInvitationFromParticipantIDCallID
default void voiceChatServiceDidReceiveInvitationFromParticipantIDCallID(@NotNull @NotNull GKVoiceChatService voiceChatService, @NotNull @NotNull java.lang.String participantID, long callID)Deprecated.
-
voiceChatServiceDidStartWithParticipantID
default void voiceChatServiceDidStartWithParticipantID(@NotNull @NotNull GKVoiceChatService voiceChatService, @NotNull @NotNull java.lang.String participantID)Deprecated.
-
voiceChatServiceDidStopWithParticipantIDError
default void voiceChatServiceDidStopWithParticipantIDError(@NotNull @NotNull GKVoiceChatService voiceChatService, @NotNull @NotNull java.lang.String participantID, @Nullable @Nullable NSError error)Deprecated.
-
voiceChatServiceSendDataToParticipantID
void voiceChatServiceSendDataToParticipantID(@NotNull @NotNull GKVoiceChatService voiceChatService, @NotNull @NotNull NSData data, @NotNull @NotNull java.lang.String participantID)Deprecated.this channel will only be used to setup voice chat, and not to send audio data. The only requirement is that messages are sent and received within a few (1-2) seconds time.
-
voiceChatServiceSendRealTimeDataToParticipantID
default void voiceChatServiceSendRealTimeDataToParticipantID(@NotNull @NotNull GKVoiceChatService voiceChatService, @NotNull @NotNull NSData data, @NotNull @NotNull java.lang.String participantID)Deprecated.should be sent immediately with no delay on a UDP peer-to-peer connection. If this method is implemented, then the Voice Chat Service will not attempt to set up a peer-to-peer connection. And will rely on this one. To transmit audio.
-
-