Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / aosp-stubs / src / main / java / android / telephony / ims / stub / DelegateConnectionMessageCallback.java
DelegateConnectionMessageCallback.java20 lines · 680 BRaw
| 1 | package android.telephony.ims.stub; |
| 2 | |
| 3 | import android.telephony.ims.SipDelegateConnection; |
| 4 | import android.telephony.ims.SipDelegateManager; |
| 5 | import android.telephony.ims.SipMessage; |
| 6 | |
| 7 | /** |
| 8 | * Compile-only stub of the framework's {@code @SystemApi} |
| 9 | * {@code android.telephony.ims.stub.DelegateConnectionMessageCallback}. Not |
| 10 | * packaged; the real class is provided by the framework at runtime. |
| 11 | */ |
| 12 | public interface DelegateConnectionMessageCallback { |
| 13 | void onMessageReceived(SipMessage message); |
| 14 | |
| 15 | void onMessageSent(String viaTransactionId); |
| 16 | |
| 17 | void onMessageSendFailure( |
| 18 | String viaTransactionId, |
| 19 | @SipDelegateManager.MessageFailureReason int reason); |
| 20 | } |