1{
2  "methods": {
3    "disableForegroundDispatch(android.app.Activity)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "activity"
10      ],
11      "returnType": "void",
12      "exceptions": [],
13      "name": "disableForegroundDispatch(android.app.Activity)"
14    },
15    "enableForegroundDispatch(android.app.Activity,android.app.PendingIntent,android.content.IntentFilter[],java.lang.String[][])": {
16      "isImplementation": true,
17      "modifiers": [
18        "protected"
19      ],
20      "params": [
21        "activity",
22        "intent",
23        "filters",
24        "techLists"
25      ],
26      "returnType": "void",
27      "exceptions": [],
28      "name": "enableForegroundDispatch(android.app.Activity,android.app.PendingIntent,android.content.IntentFilter[],java.lang.String[][])"
29    },
30    "getDisabledActivity()": {
31      "isImplementation": false,
32      "modifiers": [
33        "public"
34      ],
35      "params": [],
36      "returnType": "android.app.Activity",
37      "exceptions": [],
38      "name": "getDisabledActivity()"
39    },
40    "getEnabledActivity()": {
41      "isImplementation": false,
42      "modifiers": [
43        "public"
44      ],
45      "params": [],
46      "returnType": "android.app.Activity",
47      "exceptions": [],
48      "name": "getEnabledActivity()"
49    },
50    "getFilters()": {
51      "isImplementation": false,
52      "modifiers": [
53        "public"
54      ],
55      "params": [],
56      "returnType": "android.content.IntentFilter[]",
57      "exceptions": [],
58      "name": "getFilters()"
59    },
60    "getIntent()": {
61      "isImplementation": false,
62      "modifiers": [
63        "public"
64      ],
65      "params": [],
66      "returnType": "android.app.PendingIntent",
67      "exceptions": [],
68      "name": "getIntent()"
69    },
70    "getNdefPushMessage()": {
71      "isImplementation": false,
72      "modifiers": [
73        "public"
74      ],
75      "params": [],
76      "returnType": "android.nfc.NdefMessage",
77      "exceptions": [],
78      "name": "getNdefPushMessage()",
79      "documentation": "Returns last set NDEF message, or throws {@code IllegalStateException} if it was never set. "
80    },
81    "getNdefPushMessageCallback()": {
82      "isImplementation": false,
83      "modifiers": [
84        "public"
85      ],
86      "params": [],
87      "returnType": "android.nfc.NfcAdapter.CreateNdefMessageCallback",
88      "exceptions": [],
89      "name": "getNdefPushMessageCallback()",
90      "documentation": "Returns last registered callback, or {@code null} if none was set. "
91    },
92    "getNfcAdapter(android.content.Context)": {
93      "isImplementation": true,
94      "modifiers": [
95        "protected",
96        "static"
97      ],
98      "params": [
99        "context"
100      ],
101      "returnType": "android.nfc.NfcAdapter",
102      "exceptions": [],
103      "name": "getNfcAdapter(android.content.Context)"
104    },
105    "getOnNdefPushCompleteCallback()": {
106      "isImplementation": false,
107      "modifiers": [
108        "public"
109      ],
110      "params": [],
111      "returnType": "android.nfc.NfcAdapter.OnNdefPushCompleteCallback",
112      "exceptions": [],
113      "name": "getOnNdefPushCompleteCallback()"
114    },
115    "getTechLists()": {
116      "isImplementation": false,
117      "modifiers": [
118        "public"
119      ],
120      "params": [],
121      "returnType": "java.lang.String[][]",
122      "exceptions": [],
123      "name": "getTechLists()"
124    },
125    "isEnabled()": {
126      "isImplementation": true,
127      "modifiers": [
128        "protected"
129      ],
130      "params": [],
131      "returnType": "boolean",
132      "exceptions": [],
133      "name": "isEnabled()"
134    },
135    "reset()": {
136      "isImplementation": false,
137      "modifiers": [
138        "public",
139        "static",
140        "synchronized"
141      ],
142      "params": [],
143      "returnType": "void",
144      "exceptions": [],
145      "name": "reset()"
146    },
147    "setEnabled(boolean)": {
148      "isImplementation": false,
149      "modifiers": [
150        "public"
151      ],
152      "params": [
153        "enabled"
154      ],
155      "returnType": "void",
156      "exceptions": [],
157      "name": "setEnabled(boolean)"
158    },
159    "setNdefPushMessage(android.nfc.NdefMessage,android.app.Activity,android.app.Activity...)": {
160      "isImplementation": true,
161      "modifiers": [
162        "protected"
163      ],
164      "params": [
165        "message",
166        "activity",
167        "activities"
168      ],
169      "returnType": "void",
170      "exceptions": [],
171      "name": "setNdefPushMessage(android.nfc.NdefMessage,android.app.Activity,android.app.Activity...)",
172      "documentation": "Mocks setting NDEF push message so that it could be verified in the test. Use {@link\n#getNdefPushMessage()} to verify that message was set.\n"
173    },
174    "setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback,android.app.Activity,android.app.Activity...)": {
175      "isImplementation": true,
176      "modifiers": [
177        "protected"
178      ],
179      "params": [
180        "callback",
181        "activity",
182        "activities"
183      ],
184      "returnType": "void",
185      "exceptions": [],
186      "name": "setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback,android.app.Activity,android.app.Activity...)"
187    },
188    "setNfcHardwareExists(boolean)": {
189      "isImplementation": false,
190      "modifiers": [
191        "public",
192        "static"
193      ],
194      "params": [
195        "hardwareExists"
196      ],
197      "returnType": "void",
198      "exceptions": [],
199      "name": "setNfcHardwareExists(boolean)",
200      "documentation": "Modifies behavior of {@link #getNfcAdapter(Context)} to return {@code null}, to simulate\nabsence of NFC hardware.\n"
201    },
202    "setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushCompleteCallback,android.app.Activity,android.app.Activity...)": {
203      "isImplementation": true,
204      "modifiers": [
205        "protected"
206      ],
207      "params": [
208        "callback",
209        "activity",
210        "activities"
211      ],
212      "returnType": "void",
213      "exceptions": [],
214      "name": "setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushCompleteCallback,android.app.Activity,android.app.Activity...)",
215      "documentation": "Sets callback that should be used on successful Android Beam (TM).\n\n\u003cp\u003eThe last registered callback is recalled and can be fetched using {@link\n#getOnNdefPushCompleteCallback}.\n"
216    }
217  },
218  "imports": [
219    "android.app.Activity",
220    "android.app.PendingIntent",
221    "android.content.Context",
222    "android.content.IntentFilter",
223    "android.nfc.NdefMessage",
224    "android.nfc.NfcAdapter",
225    "org.robolectric.annotation.Implementation",
226    "org.robolectric.annotation.Implements",
227    "org.robolectric.annotation.RealObject",
228    "org.robolectric.annotation.Resetter",
229    "org.robolectric.util.ReflectionHelpers"
230  ],
231  "name": "org.robolectric.shadows.ShadowNfcAdapter"
232}