1 /* 2 * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 package org.webrtc.examples.androidvoip; 12 13 import java.util.List; 14 15 public interface OnVoipClientTaskCompleted { onGetLocalIPAddressCompleted(String localIPAddress)16 void onGetLocalIPAddressCompleted(String localIPAddress); onGetSupportedCodecsCompleted(List<String> supportedCodecs)17 void onGetSupportedCodecsCompleted(List<String> supportedCodecs); onVoipClientInitializationCompleted(boolean isSuccessful)18 void onVoipClientInitializationCompleted(boolean isSuccessful); onStartSessionCompleted(boolean isSuccessful)19 void onStartSessionCompleted(boolean isSuccessful); onStopSessionCompleted(boolean isSuccessful)20 void onStopSessionCompleted(boolean isSuccessful); onStartSendCompleted(boolean isSuccessful)21 void onStartSendCompleted(boolean isSuccessful); onStopSendCompleted(boolean isSuccessful)22 void onStopSendCompleted(boolean isSuccessful); onStartPlayoutCompleted(boolean isSuccessful)23 void onStartPlayoutCompleted(boolean isSuccessful); onStopPlayoutCompleted(boolean isSuccessful)24 void onStopPlayoutCompleted(boolean isSuccessful); onUninitializedVoipClient()25 void onUninitializedVoipClient(); 26 } 27