1// Signature format: 4.0
2package androidx.enterprise.feedback {
3
4  @com.google.auto.value.AutoValue public abstract class KeyedAppState {
5    method public static androidx.enterprise.feedback.KeyedAppState.KeyedAppStateBuilder builder();
6    method public abstract String? getData();
7    method public abstract String getKey();
8    method public abstract String? getMessage();
9    method public abstract int getSeverity();
10    field public static final int MAX_DATA_LENGTH = 1000; // 0x3e8
11    field public static final int MAX_KEY_LENGTH = 100; // 0x64
12    field public static final int MAX_MESSAGE_LENGTH = 1000; // 0x3e8
13    field public static final int SEVERITY_ERROR = 2; // 0x2
14    field public static final int SEVERITY_INFO = 1; // 0x1
15  }
16
17  @com.google.auto.value.AutoValue.Builder public abstract static class KeyedAppState.KeyedAppStateBuilder {
18    method public androidx.enterprise.feedback.KeyedAppState build();
19    method public abstract androidx.enterprise.feedback.KeyedAppState.KeyedAppStateBuilder setData(String?);
20    method public abstract androidx.enterprise.feedback.KeyedAppState.KeyedAppStateBuilder setKey(String);
21    method public abstract androidx.enterprise.feedback.KeyedAppState.KeyedAppStateBuilder setMessage(String?);
22    method public abstract androidx.enterprise.feedback.KeyedAppState.KeyedAppStateBuilder setSeverity(int);
23  }
24
25  public abstract class KeyedAppStatesReporter {
26    method public static androidx.enterprise.feedback.KeyedAppStatesReporter create(android.content.Context);
27    method public static androidx.enterprise.feedback.KeyedAppStatesReporter create(android.content.Context, java.util.concurrent.Executor);
28    method public abstract void setStates(java.util.Collection<androidx.enterprise.feedback.KeyedAppState!>);
29    method public abstract void setStatesImmediate(java.util.Collection<androidx.enterprise.feedback.KeyedAppState!>);
30  }
31
32  public abstract class KeyedAppStatesService extends android.app.Service {
33    ctor public KeyedAppStatesService();
34    method public android.os.IBinder onBind(android.content.Intent);
35    method public abstract void onReceive(java.util.Collection<androidx.enterprise.feedback.ReceivedKeyedAppState!>, boolean);
36  }
37
38  @com.google.auto.value.AutoValue public abstract class ReceivedKeyedAppState {
39    method public static androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder builder();
40    method public abstract String? getData();
41    method public abstract String getKey();
42    method public abstract String? getMessage();
43    method public abstract String getPackageName();
44    method public abstract int getSeverity();
45    method public abstract long getTimestamp();
46  }
47
48  @com.google.auto.value.AutoValue.Builder public abstract static class ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder {
49    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState build();
50    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setData(String?);
51    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setKey(String);
52    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setMessage(String?);
53    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setPackageName(String);
54    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setSeverity(int);
55    method public abstract androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setTimestamp(long);
56  }
57
58}
59
60