Interface GKVoiceChatClient


  • @Deprecated
    public interface GKVoiceChatClient
    Deprecated.
    All clients will need to implement this protocol API-Since: 3.0 Deprecated-Since: 7.0
    • 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.