1{
2  "methods": {
3    "cancel()": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [],
9      "returnType": "void",
10      "exceptions": [],
11      "name": "cancel()"
12    },
13    "create(android.content.Context,android.content.Intent[],org.robolectric.shadows.ShadowPendingIntent.Type,int,int)": {
14      "isImplementation": false,
15      "modifiers": [
16        "private",
17        "static"
18      ],
19      "params": [
20        "context",
21        "intents",
22        "type",
23        "requestCode",
24        "flags"
25      ],
26      "returnType": "android.app.PendingIntent",
27      "exceptions": [],
28      "name": "create(android.content.Context,android.content.Intent[],org.robolectric.shadows.ShadowPendingIntent.Type,int,int)"
29    },
30    "equals(java.lang.Object)": {
31      "isImplementation": true,
32      "modifiers": [
33        "public"
34      ],
35      "params": [
36        "o"
37      ],
38      "returnType": "boolean",
39      "exceptions": [],
40      "name": "equals(java.lang.Object)"
41    },
42    "getActivities(android.content.Context,int,android.content.Intent[],int)": {
43      "isImplementation": true,
44      "modifiers": [
45        "protected",
46        "static"
47      ],
48      "params": [
49        "context",
50        "requestCode",
51        "intents",
52        "flags"
53      ],
54      "returnType": "android.app.PendingIntent",
55      "exceptions": [],
56      "name": "getActivities(android.content.Context,int,android.content.Intent[],int)"
57    },
58    "getActivities(android.content.Context,int,android.content.Intent[],int,android.os.Bundle)": {
59      "isImplementation": true,
60      "modifiers": [
61        "protected",
62        "static"
63      ],
64      "params": [
65        "context",
66        "requestCode",
67        "intents",
68        "flags",
69        "options"
70      ],
71      "returnType": "android.app.PendingIntent",
72      "exceptions": [],
73      "name": "getActivities(android.content.Context,int,android.content.Intent[],int,android.os.Bundle)"
74    },
75    "getActivity(android.content.Context,int,android.content.Intent,int)": {
76      "isImplementation": true,
77      "modifiers": [
78        "protected",
79        "static"
80      ],
81      "params": [
82        "context",
83        "requestCode",
84        "intent",
85        "flags"
86      ],
87      "returnType": "android.app.PendingIntent",
88      "exceptions": [],
89      "name": "getActivity(android.content.Context,int,android.content.Intent,int)"
90    },
91    "getActivity(android.content.Context,int,android.content.Intent,int,android.os.Bundle)": {
92      "isImplementation": true,
93      "modifiers": [
94        "protected",
95        "static"
96      ],
97      "params": [
98        "context",
99        "requestCode",
100        "intent",
101        "flags",
102        "options"
103      ],
104      "returnType": "android.app.PendingIntent",
105      "exceptions": [],
106      "name": "getActivity(android.content.Context,int,android.content.Intent,int,android.os.Bundle)"
107    },
108    "getBroadcast(android.content.Context,int,android.content.Intent,int)": {
109      "isImplementation": true,
110      "modifiers": [
111        "protected",
112        "static"
113      ],
114      "params": [
115        "context",
116        "requestCode",
117        "intent",
118        "flags"
119      ],
120      "returnType": "android.app.PendingIntent",
121      "exceptions": [],
122      "name": "getBroadcast(android.content.Context,int,android.content.Intent,int)"
123    },
124    "getCreatedIntentFor(org.robolectric.shadows.ShadowPendingIntent.Type,android.content.Intent[],int,int)": {
125      "isImplementation": false,
126      "modifiers": [
127        "private",
128        "static"
129      ],
130      "params": [
131        "type",
132        "intents",
133        "requestCode",
134        "flags"
135      ],
136      "returnType": "android.app.PendingIntent",
137      "exceptions": [],
138      "name": "getCreatedIntentFor(org.robolectric.shadows.ShadowPendingIntent.Type,android.content.Intent[],int,int)"
139    },
140    "getCreatorPackage()": {
141      "isImplementation": true,
142      "modifiers": [
143        "protected"
144      ],
145      "params": [],
146      "returnType": "java.lang.String",
147      "exceptions": [],
148      "minSdk": 17,
149      "name": "getCreatorPackage()"
150    },
151    "getFlags()": {
152      "isImplementation": false,
153      "modifiers": [
154        "public"
155      ],
156      "params": [],
157      "returnType": "int",
158      "exceptions": [],
159      "name": "getFlags()",
160      "documentation": "@return the flags with which this PendingIntent was created\n"
161    },
162    "getForegroundService(android.content.Context,int,android.content.Intent,int)": {
163      "isImplementation": true,
164      "modifiers": [
165        "protected",
166        "static"
167      ],
168      "params": [
169        "context",
170        "requestCode",
171        "intent",
172        "flags"
173      ],
174      "returnType": "android.app.PendingIntent",
175      "exceptions": [],
176      "minSdk": 26,
177      "name": "getForegroundService(android.content.Context,int,android.content.Intent,int)"
178    },
179    "getIntentSender()": {
180      "isImplementation": true,
181      "modifiers": [
182        "protected"
183      ],
184      "params": [],
185      "returnType": "android.content.IntentSender",
186      "exceptions": [],
187      "name": "getIntentSender()"
188    },
189    "getRequestCode()": {
190      "isImplementation": false,
191      "modifiers": [
192        "public"
193      ],
194      "params": [],
195      "returnType": "int",
196      "exceptions": [],
197      "name": "getRequestCode()",
198      "documentation": "@return the request code with which this PendingIntent was created\n"
199    },
200    "getSavedContext()": {
201      "isImplementation": false,
202      "modifiers": [
203        "public"
204      ],
205      "params": [],
206      "returnType": "android.content.Context",
207      "exceptions": [],
208      "name": "getSavedContext()",
209      "documentation": "@return the context in which this PendingIntent was created\n"
210    },
211    "getSavedIntent()": {
212      "isImplementation": false,
213      "modifiers": [
214        "public"
215      ],
216      "params": [],
217      "returnType": "android.content.Intent",
218      "exceptions": [],
219      "name": "getSavedIntent()",
220      "documentation": "This returns the last Intent in the Intent[] to be delivered when the PendingIntent is sent.\nThis method is particularly useful for PendingIntents created with a single Intent:\n\u003cul\u003e\n  \u003cli\u003e{@link #getActivity(Context, int, Intent, int)}\u003c/li\u003e\n  \u003cli\u003e{@link #getActivity(Context, int, Intent, int, Bundle)}\u003c/li\u003e\n  \u003cli\u003e{@link #getBroadcast(Context, int, Intent, int)}\u003c/li\u003e\n  \u003cli\u003e{@link #getService(Context, int, Intent, int)}\u003c/li\u003e\n\u003c/ul\u003e\n\n@return the final Intent to be delivered when the PendingIntent is sent\n"
221    },
222    "getSavedIntents()": {
223      "isImplementation": false,
224      "modifiers": [
225        "public"
226      ],
227      "params": [],
228      "returnType": "android.content.Intent[]",
229      "exceptions": [],
230      "name": "getSavedIntents()",
231      "documentation": "This method is particularly useful for PendingIntents created with multiple Intents:\n\u003cul\u003e\n  \u003cli\u003e{@link #getActivities(Context, int, Intent[], int)}\u003c/li\u003e\n  \u003cli\u003e{@link #getActivities(Context, int, Intent[], int, Bundle)}\u003c/li\u003e\n\u003c/ul\u003e\n\n@return all Intents to be delivered when the PendingIntent is sent\n"
232    },
233    "getService(android.content.Context,int,android.content.Intent,int)": {
234      "isImplementation": true,
235      "modifiers": [
236        "protected",
237        "static"
238      ],
239      "params": [
240        "context",
241        "requestCode",
242        "intent",
243        "flags"
244      ],
245      "returnType": "android.app.PendingIntent",
246      "exceptions": [],
247      "name": "getService(android.content.Context,int,android.content.Intent,int)"
248    },
249    "getTargetPackage()": {
250      "isImplementation": true,
251      "modifiers": [
252        "protected"
253      ],
254      "params": [],
255      "returnType": "java.lang.String",
256      "exceptions": [],
257      "name": "getTargetPackage()"
258    },
259    "hashCode()": {
260      "isImplementation": true,
261      "modifiers": [
262        "public"
263      ],
264      "params": [],
265      "returnType": "int",
266      "exceptions": [],
267      "name": "hashCode()"
268    },
269    "isActivityIntent()": {
270      "isImplementation": false,
271      "modifiers": [
272        "public"
273      ],
274      "params": [],
275      "returnType": "boolean",
276      "exceptions": [],
277      "name": "isActivityIntent()",
278      "documentation": "@return {@code true} iff sending this PendingIntent will start an activity\n"
279    },
280    "isBroadcastIntent()": {
281      "isImplementation": false,
282      "modifiers": [
283        "public"
284      ],
285      "params": [],
286      "returnType": "boolean",
287      "exceptions": [],
288      "name": "isBroadcastIntent()",
289      "documentation": "@return {@code true} iff sending this PendingIntent will broadcast an Intent\n"
290    },
291    "isCanceled()": {
292      "isImplementation": false,
293      "modifiers": [
294        "public"
295      ],
296      "params": [],
297      "returnType": "boolean",
298      "exceptions": [],
299      "name": "isCanceled()",
300      "documentation": "@return {@true} iff this PendingIntent has been canceled\n"
301    },
302    "isForegroundServiceIntent()": {
303      "isImplementation": false,
304      "modifiers": [
305        "public"
306      ],
307      "params": [],
308      "returnType": "boolean",
309      "exceptions": [],
310      "name": "isForegroundServiceIntent()",
311      "documentation": "@return {@code true} iff sending this PendingIntent will start a foreground service "
312    },
313    "isMutable(int)": {
314      "isImplementation": false,
315      "modifiers": [
316        "private",
317        "static"
318      ],
319      "params": [
320        "flags"
321      ],
322      "returnType": "boolean",
323      "exceptions": [],
324      "name": "isMutable(int)"
325    },
326    "isOneShot(int)": {
327      "isImplementation": false,
328      "modifiers": [
329        "private",
330        "static"
331      ],
332      "params": [
333        "flags"
334      ],
335      "returnType": "boolean",
336      "exceptions": [],
337      "name": "isOneShot(int)"
338    },
339    "isServiceIntent()": {
340      "isImplementation": false,
341      "modifiers": [
342        "public"
343      ],
344      "params": [],
345      "returnType": "boolean",
346      "exceptions": [],
347      "name": "isServiceIntent()",
348      "documentation": "@return {@code true} iff sending this PendingIntent will start a service\n"
349    },
350    "reset()": {
351      "isImplementation": false,
352      "modifiers": [
353        "public",
354        "static"
355      ],
356      "params": [],
357      "returnType": "void",
358      "exceptions": [],
359      "name": "reset()"
360    },
361    "send()": {
362      "isImplementation": true,
363      "modifiers": [
364        "protected"
365      ],
366      "params": [],
367      "returnType": "void",
368      "exceptions": [
369        "android.app.PendingIntent.CanceledException"
370      ],
371      "name": "send()"
372    },
373    "send(android.content.Context,int,android.content.Intent)": {
374      "isImplementation": true,
375      "modifiers": [
376        "protected"
377      ],
378      "params": [
379        "context",
380        "code",
381        "intent"
382      ],
383      "returnType": "void",
384      "exceptions": [
385        "android.app.PendingIntent.CanceledException"
386      ],
387      "name": "send(android.content.Context,int,android.content.Intent)"
388    },
389    "send(android.content.Context,int,android.content.Intent,android.app.PendingIntent.OnFinished,android.os.Handler)": {
390      "isImplementation": true,
391      "modifiers": [
392        "protected"
393      ],
394      "params": [
395        "context",
396        "code",
397        "intent",
398        "onFinished",
399        "handler"
400      ],
401      "returnType": "void",
402      "exceptions": [
403        "android.app.PendingIntent.CanceledException"
404      ],
405      "name": "send(android.content.Context,int,android.content.Intent,android.app.PendingIntent.OnFinished,android.os.Handler)"
406    },
407    "send(android.content.Context,int,android.content.Intent,android.app.PendingIntent.OnFinished,android.os.Handler,java.lang.String)": {
408      "isImplementation": true,
409      "modifiers": [
410        "protected"
411      ],
412      "params": [
413        "context",
414        "code",
415        "intent",
416        "onFinished",
417        "handler",
418        "requiredPermission"
419      ],
420      "returnType": "void",
421      "exceptions": [
422        "android.app.PendingIntent.CanceledException"
423      ],
424      "name": "send(android.content.Context,int,android.content.Intent,android.app.PendingIntent.OnFinished,android.os.Handler,java.lang.String)"
425    },
426    "send(android.content.Context,int,android.content.Intent,android.app.PendingIntent.OnFinished,android.os.Handler,java.lang.String,android.os.Bundle)": {
427      "isImplementation": true,
428      "modifiers": [
429        "protected"
430      ],
431      "params": [
432        "context",
433        "code",
434        "intent",
435        "onFinished",
436        "handler",
437        "requiredPermission",
438        "options"
439      ],
440      "returnType": "void",
441      "exceptions": [
442        "android.app.PendingIntent.CanceledException"
443      ],
444      "minSdk": 23,
445      "name": "send(android.content.Context,int,android.content.Intent,android.app.PendingIntent.OnFinished,android.os.Handler,java.lang.String,android.os.Bundle)"
446    },
447    "send(int,android.app.PendingIntent.OnFinished,android.os.Handler)": {
448      "isImplementation": true,
449      "modifiers": [
450        "protected"
451      ],
452      "params": [
453        "code",
454        "onFinished",
455        "handler"
456      ],
457      "returnType": "void",
458      "exceptions": [
459        "android.app.PendingIntent.CanceledException"
460      ],
461      "name": "send(int,android.app.PendingIntent.OnFinished,android.os.Handler)"
462    },
463    "setCreatorPackage(java.lang.String)": {
464      "isImplementation": false,
465      "modifiers": [
466        "public"
467      ],
468      "params": [
469        "creatorPackage"
470      ],
471      "returnType": "void",
472      "exceptions": [],
473      "name": "setCreatorPackage(java.lang.String)"
474    }
475  },
476  "imports": [
477    "android.app.PendingIntent.FLAG_CANCEL_CURRENT",
478    "android.app.PendingIntent.FLAG_IMMUTABLE",
479    "android.app.PendingIntent.FLAG_NO_CREATE",
480    "android.app.PendingIntent.FLAG_ONE_SHOT",
481    "android.app.PendingIntent.FLAG_UPDATE_CURRENT",
482    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1",
483    "android.os.Build.VERSION_CODES.M",
484    "android.os.Build.VERSION_CODES.O",
485    "android.annotation.NonNull",
486    "android.annotation.SuppressLint",
487    "android.app.Activity",
488    "android.app.ActivityThread",
489    "android.app.PendingIntent",
490    "android.app.PendingIntent.CanceledException",
491    "android.content.Context",
492    "android.content.Intent",
493    "android.content.IntentSender",
494    "android.os.Bundle",
495    "android.os.Handler",
496    "android.os.IBinder",
497    "java.util.ArrayList",
498    "java.util.Arrays",
499    "java.util.Iterator",
500    "java.util.List",
501    "java.util.Objects",
502    "org.robolectric.RuntimeEnvironment",
503    "org.robolectric.annotation.Implementation",
504    "org.robolectric.annotation.Implements",
505    "org.robolectric.annotation.RealObject",
506    "org.robolectric.annotation.Resetter",
507    "org.robolectric.fakes.RoboIntentSender",
508    "org.robolectric.shadow.api.Shadow",
509    "org.robolectric.util.ReflectionHelpers",
510    "org.robolectric.shadows.ShadowPendingIntent.Type"
511  ],
512  "name": "org.robolectric.shadows.ShadowPendingIntent"
513}