-
Notifications
You must be signed in to change notification settings - Fork 783
Expand file tree
/
Copy pathIBinderSession.java
More file actions
35 lines (27 loc) · 1.12 KB
/
Copy pathIBinderSession.java
File metadata and controls
35 lines (27 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package android.app;
import android.os.IBinder;
import android.os.IInterface;
/**
* Stub of {@code android.app.IBinderSession} introduced in Android 17 (API 36+).
*
* <p>This interface is used as a parameter of the new
* {@link IServiceConnection#connected} overload added in Android 17. On older
* Android versions this class does not exist at runtime, but because the stub
* is only referenced from the new {@code connected} overload (which is never
* invoked on older versions), the absence of the runtime class is not a
* problem — the method is never dispatched there.
*/
public interface IBinderSession extends IInterface {
String DESCRIPTOR = "android.app.IBinderSession";
void binderTransactionCompleted(long transactionId);
long binderTransactionStarting(String name);
abstract class Stub extends android.os.Binder implements IBinderSession {
public static IBinderSession asInterface(IBinder obj) {
throw new UnsupportedOperationException();
}
@Override
public IBinder asBinder() {
throw new UnsupportedOperationException();
}
}
}