1// Signature format: 4.0
2package androidx.remotecallback {
3
4  @Deprecated public class AppWidgetProviderWithCallbacks<T extends androidx.remotecallback.CallbackReceiver> extends android.appwidget.AppWidgetProvider implements androidx.remotecallback.CallbackBase<T!> androidx.remotecallback.CallbackReceiver<T!> {
5    ctor @Deprecated public AppWidgetProviderWithCallbacks();
6    method @Deprecated public T createRemoteCallback(android.content.Context);
7    method @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.remotecallback.RemoteCallback toRemoteCallback(Class<T!>, android.content.Context, String?, android.os.Bundle, String);
8  }
9
10  @Deprecated public abstract class BroadcastReceiverWithCallbacks<T extends androidx.remotecallback.CallbackReceiver> extends android.content.BroadcastReceiver implements androidx.remotecallback.CallbackBase<T!> androidx.remotecallback.CallbackReceiver<T!> {
11    ctor @Deprecated public BroadcastReceiverWithCallbacks();
12    method @Deprecated public T createRemoteCallback(android.content.Context);
13    method @Deprecated public void onReceive(android.content.Context!, android.content.Intent!);
14    method @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.remotecallback.RemoteCallback toRemoteCallback(Class<T!>, android.content.Context, String?, android.os.Bundle, String);
15    field @Deprecated public static final String ACTION_BROADCAST_CALLBACK = "androidx.remotecallback.action.BROADCAST_CALLBACK";
16  }
17
18  @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface CallbackBase<T> {
19    method @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.remotecallback.RemoteCallback toRemoteCallback(Class<T!>, android.content.Context, String, android.os.Bundle, String);
20  }
21
22  @Deprecated public class CallbackHandlerRegistry {
23    ctor @Deprecated public CallbackHandlerRegistry();
24    method @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public <T extends androidx.remotecallback.CallbackReceiver> T getAndResetStub(Class<? extends androidx.remotecallback.CallbackReceiver!>, android.content.Context, String?);
25    method @Deprecated public <T extends androidx.remotecallback.CallbackReceiver> void invokeCallback(android.content.Context, T!, android.content.Intent);
26    method @Deprecated public <T extends androidx.remotecallback.CallbackReceiver> void invokeCallback(android.content.Context, T!, android.os.Bundle);
27    method @Deprecated public static <T extends androidx.remotecallback.CallbackReceiver> void registerCallbackHandler(Class<T!>, String, androidx.remotecallback.CallbackHandlerRegistry.CallbackHandler<T!>?);
28    method @Deprecated public static androidx.remotecallback.RemoteCallback? stubToRemoteCallback(androidx.remotecallback.CallbackReceiver, Class<? extends androidx.remotecallback.CallbackReceiver!>, android.os.Bundle, String?);
29    field @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static final androidx.remotecallback.CallbackHandlerRegistry! sInstance;
30  }
31
32  @Deprecated public static interface CallbackHandlerRegistry.CallbackHandler<T extends androidx.remotecallback.CallbackReceiver> {
33    method @Deprecated public void executeCallback(android.content.Context, T!, android.os.Bundle);
34  }
35
36  @Deprecated public interface CallbackReceiver<T> {
37    method @Deprecated public T createRemoteCallback(android.content.Context);
38  }
39
40  @Deprecated public abstract class ContentProviderWithCallbacks<T extends androidx.remotecallback.ContentProviderWithCallbacks> extends android.content.ContentProvider implements androidx.remotecallback.CallbackBase<T!> androidx.remotecallback.CallbackReceiver<T!> {
41    ctor @Deprecated public ContentProviderWithCallbacks();
42    method @Deprecated public T createRemoteCallback(android.content.Context);
43    method @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.remotecallback.RemoteCallback toRemoteCallback(Class<T!>, android.content.Context, String?, android.os.Bundle, String);
44  }
45
46  @Deprecated @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target(java.lang.annotation.ElementType.PARAMETER) public @interface ExternalInput {
47    method @Deprecated public abstract String value();
48  }
49
50  @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ProviderRelayReceiver extends android.content.BroadcastReceiver {
51    ctor @Deprecated public ProviderRelayReceiver();
52    method @Deprecated public void onReceive(android.content.Context!, android.content.Intent!);
53    field @Deprecated public static final String ACTION_PROVIDER_RELAY = "androidx.remotecallback.action.PROVIDER_RELAY";
54    field @Deprecated public static final String EXTRA_AUTHORITY = "androidx.remotecallback.extra.AUTHORITY";
55    field @Deprecated public static final String METHOD_PROVIDER_CALLBACK = "androidx.remotecallback.method.PROVIDER_CALLBACK";
56  }
57
58  @Deprecated @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface RemoteCallable {
59  }
60
61  @Deprecated public class RemoteCallback {
62    ctor @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public RemoteCallback(android.content.Context, int, android.content.Intent, String, android.os.Bundle);
63    method @Deprecated public static <T extends androidx.remotecallback.CallbackReceiver> T! create(Class<T!>!, android.content.Context!);
64    method @Deprecated public android.os.Bundle! getArgumentBundle();
65    method @Deprecated public String! getMethodName();
66    method @Deprecated public String getReceiverClass();
67    method @Deprecated public int getType();
68    method @Deprecated public android.app.PendingIntent! toPendingIntent();
69    field @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static final String EXTRA_METHOD = "remotecallback.method";
70    field @Deprecated public static final androidx.remotecallback.RemoteCallback! LOCAL;
71    field @Deprecated public static final int TYPE_PROVIDER = 1; // 0x1
72    field @Deprecated public static final int TYPE_RECEIVER = 0; // 0x0
73  }
74
75}
76
77