Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / library / aosp-stubs / src / main / java / android / telephony / ims / stub / DelegateConnectionMessageCallback.java

DelegateConnectionMessageCallback.java20 lines · 680 BRaw
1package android.telephony.ims.stub;
2
3import android.telephony.ims.SipDelegateConnection;
4import android.telephony.ims.SipDelegateManager;
5import 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 */
12public 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}