blob: a9c03f7e7704e77bca2d06be67426004a482753b [file] [log] [blame]
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001/*
kjellanderb24317b2016-02-10 07:54:43 -08002 * Copyright 2013 The WebRTC project authors. All Rights Reserved.
henrike@webrtc.org28e20752013-07-10 00:45:36 +00003 *
kjellanderb24317b2016-02-10 07:54:43 -08004 * 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.
henrike@webrtc.org28e20752013-07-10 00:45:36 +00009 */
10
11package org.webrtc;
12
13/** Interface for observing SDP-related events. */
14public 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}