| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2013 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; | |
| 12 | |
| 13 /** Interface for observing SDP-related events. */ | |
| 14 public interface SdpObserver { | |
| 15 /** Called on success of Create{Offer,Answer}(). */ | |
| 16 public void onCreateSuccess(SessionDescription sdp); | |
| 17 | |
| 18 /** Called on success of Set{Local,Remote}Description(). */ | |
| 19 public void onSetSuccess(); | |
| 20 | |
| 21 /** Called on error of Create{Offer,Answer}(). */ | |
| 22 public void onCreateFailure(String error); | |
| 23 | |
| 24 /** Called on error of Set{Local,Remote}Description(). */ | |
| 25 public void onSetFailure(String error); | |
| 26 } | |
| OLD | NEW |