| 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 | @CalledByNative void onCreateSuccess(SessionDescription sdp); |
| 17 |
| 18 | /** Called on success of Set{Local,Remote}Description(). */ |
| 19 | @CalledByNative void onSetSuccess(); |
| 20 |
| 21 | /** Called on error of Create{Offer,Answer}(). */ |
| 22 | @CalledByNative void onCreateFailure(String error); |
| 23 |
| 24 | /** Called on error of Set{Local,Remote}Description(). */ |
| 25 | @CalledByNative void onSetFailure(String error); |
| 26 | } |
| 27 |