1{
2  "methods": {
3    "cancelDiscovery()": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [],
9      "returnType": "boolean",
10      "exceptions": [],
11      "name": "cancelDiscovery()"
12    },
13    "checkBluetoothAddress(java.lang.String)": {
14      "isImplementation": true,
15      "modifiers": [
16        "protected",
17        "static"
18      ],
19      "params": [
20        "address"
21      ],
22      "returnType": "boolean",
23      "exceptions": [],
24      "name": "checkBluetoothAddress(java.lang.String)",
25      "documentation": "Validate a Bluetooth address, such as \"00:43:A8:23:10:F0\" Alphabetic characters must be\nuppercase to be valid.\n\n@param address Bluetooth address as string\n@return true if the address is valid, false otherwise\n"
26    },
27    "disable()": {
28      "isImplementation": true,
29      "modifiers": [
30        "protected"
31      ],
32      "params": [],
33      "returnType": "boolean",
34      "exceptions": [],
35      "name": "disable()"
36    },
37    "enable()": {
38      "isImplementation": true,
39      "modifiers": [
40        "protected"
41      ],
42      "params": [],
43      "returnType": "boolean",
44      "exceptions": [],
45      "name": "enable()"
46    },
47    "getAddress()": {
48      "isImplementation": true,
49      "modifiers": [
50        "protected"
51      ],
52      "params": [],
53      "returnType": "java.lang.String",
54      "exceptions": [],
55      "name": "getAddress()"
56    },
57    "getBondedDevices()": {
58      "isImplementation": true,
59      "modifiers": [
60        "protected"
61      ],
62      "params": [],
63      "returnType": "java.util.Set\u003candroid.bluetooth.BluetoothDevice\u003e",
64      "exceptions": [],
65      "name": "getBondedDevices()"
66    },
67    "getDefaultAdapter()": {
68      "isImplementation": true,
69      "modifiers": [
70        "protected",
71        "static"
72      ],
73      "params": [],
74      "returnType": "android.bluetooth.BluetoothAdapter",
75      "exceptions": [],
76      "name": "getDefaultAdapter()"
77    },
78    "getLeScanCallbacks()": {
79      "isImplementation": false,
80      "modifiers": [
81        "public"
82      ],
83      "params": [],
84      "returnType": "java.util.Set\u003candroid.bluetooth.BluetoothAdapter.LeScanCallback\u003e",
85      "exceptions": [],
86      "name": "getLeScanCallbacks()"
87    },
88    "getName()": {
89      "isImplementation": true,
90      "modifiers": [
91        "protected"
92      ],
93      "params": [],
94      "returnType": "java.lang.String",
95      "exceptions": [],
96      "name": "getName()"
97    },
98    "getProfileConnectionState(int)": {
99      "isImplementation": true,
100      "modifiers": [
101        "protected"
102      ],
103      "params": [
104        "profile"
105      ],
106      "returnType": "int",
107      "exceptions": [],
108      "name": "getProfileConnectionState(int)",
109      "documentation": "Returns the connection state for the given Bluetooth {@code profile}, defaulting to {@link\nBluetoothProfile.STATE_DISCONNECTED} if the profile\u0027s connection state was never set.\n\n\u003cp\u003eSet a Bluetooth profile\u0027s connection state via {@link #setProfileConnectionState(int, int)}.\n"
110    },
111    "getScanMode()": {
112      "isImplementation": true,
113      "modifiers": [
114        "protected"
115      ],
116      "params": [],
117      "returnType": "int",
118      "exceptions": [],
119      "name": "getScanMode()"
120    },
121    "getSingleLeScanCallback()": {
122      "isImplementation": false,
123      "modifiers": [
124        "public"
125      ],
126      "params": [],
127      "returnType": "android.bluetooth.BluetoothAdapter.LeScanCallback",
128      "exceptions": [],
129      "name": "getSingleLeScanCallback()"
130    },
131    "getState()": {
132      "isImplementation": true,
133      "modifiers": [
134        "protected"
135      ],
136      "params": [],
137      "returnType": "int",
138      "exceptions": [],
139      "name": "getState()"
140    },
141    "isDiscovering()": {
142      "isImplementation": true,
143      "modifiers": [
144        "protected"
145      ],
146      "params": [],
147      "returnType": "boolean",
148      "exceptions": [],
149      "name": "isDiscovering()"
150    },
151    "isEnabled()": {
152      "isImplementation": true,
153      "modifiers": [
154        "protected"
155      ],
156      "params": [],
157      "returnType": "boolean",
158      "exceptions": [],
159      "name": "isEnabled()"
160    },
161    "isMultipleAdvertisementSupported()": {
162      "isImplementation": true,
163      "modifiers": [
164        "protected"
165      ],
166      "params": [],
167      "returnType": "boolean",
168      "exceptions": [],
169      "minSdk": 21,
170      "name": "isMultipleAdvertisementSupported()"
171    },
172    "listenUsingInsecureRfcommWithServiceRecord(java.lang.String,java.util.UUID)": {
173      "isImplementation": true,
174      "modifiers": [
175        "protected"
176      ],
177      "params": [
178        "serviceName",
179        "uuid"
180      ],
181      "returnType": "android.bluetooth.BluetoothServerSocket",
182      "exceptions": [],
183      "name": "listenUsingInsecureRfcommWithServiceRecord(java.lang.String,java.util.UUID)"
184    },
185    "setAddress(java.lang.String)": {
186      "isImplementation": false,
187      "modifiers": [
188        "public"
189      ],
190      "params": [
191        "address"
192      ],
193      "returnType": "void",
194      "exceptions": [],
195      "name": "setAddress(java.lang.String)"
196    },
197    "setBondedDevices(java.util.Set\u003candroid.bluetooth.BluetoothDevice\u003e)": {
198      "isImplementation": false,
199      "modifiers": [
200        "public"
201      ],
202      "params": [
203        "bluetoothDevices"
204      ],
205      "returnType": "void",
206      "exceptions": [],
207      "name": "setBondedDevices(java.util.Set\u003candroid.bluetooth.BluetoothDevice\u003e)"
208    },
209    "setEnabled(boolean)": {
210      "isImplementation": false,
211      "modifiers": [
212        "public"
213      ],
214      "params": [
215        "enabled"
216      ],
217      "returnType": "void",
218      "exceptions": [],
219      "name": "setEnabled(boolean)"
220    },
221    "setIsMultipleAdvertisementSupported(boolean)": {
222      "isImplementation": false,
223      "modifiers": [
224        "public"
225      ],
226      "params": [
227        "supported"
228      ],
229      "returnType": "void",
230      "exceptions": [],
231      "name": "setIsMultipleAdvertisementSupported(boolean)"
232    },
233    "setName(java.lang.String)": {
234      "isImplementation": true,
235      "modifiers": [
236        "protected"
237      ],
238      "params": [
239        "name"
240      ],
241      "returnType": "boolean",
242      "exceptions": [],
243      "name": "setName(java.lang.String)"
244    },
245    "setProfileConnectionState(int,int)": {
246      "isImplementation": false,
247      "modifiers": [
248        "public"
249      ],
250      "params": [
251        "profile",
252        "state"
253      ],
254      "returnType": "void",
255      "exceptions": [],
256      "name": "setProfileConnectionState(int,int)",
257      "documentation": "Sets the connection state {@code state} for the given BLuetoothProfile {@code profile}\n"
258    },
259    "setScanMode(int)": {
260      "isImplementation": true,
261      "modifiers": [
262        "protected"
263      ],
264      "params": [
265        "scanMode"
266      ],
267      "returnType": "java.lang.Object",
268      "exceptions": [],
269      "name": "setScanMode(int)"
270    },
271    "setState(int)": {
272      "isImplementation": false,
273      "modifiers": [
274        "public"
275      ],
276      "params": [
277        "state"
278      ],
279      "returnType": "void",
280      "exceptions": [],
281      "name": "setState(int)"
282    },
283    "startDiscovery()": {
284      "isImplementation": true,
285      "modifiers": [
286        "protected"
287      ],
288      "params": [],
289      "returnType": "boolean",
290      "exceptions": [],
291      "name": "startDiscovery()"
292    },
293    "startLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback)": {
294      "isImplementation": true,
295      "modifiers": [
296        "protected"
297      ],
298      "params": [
299        "callback"
300      ],
301      "returnType": "boolean",
302      "exceptions": [],
303      "minSdk": 18,
304      "name": "startLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback)"
305    },
306    "startLeScan(java.util.UUID[],android.bluetooth.BluetoothAdapter.LeScanCallback)": {
307      "isImplementation": true,
308      "modifiers": [
309        "protected"
310      ],
311      "params": [
312        "serviceUuids",
313        "callback"
314      ],
315      "returnType": "boolean",
316      "exceptions": [],
317      "minSdk": 18,
318      "name": "startLeScan(java.util.UUID[],android.bluetooth.BluetoothAdapter.LeScanCallback)"
319    },
320    "stopLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback)": {
321      "isImplementation": true,
322      "modifiers": [
323        "protected"
324      ],
325      "params": [
326        "callback"
327      ],
328      "returnType": "void",
329      "exceptions": [],
330      "minSdk": 18,
331      "name": "stopLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback)"
332    }
333  },
334  "imports": [
335    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2",
336    "android.os.Build.VERSION_CODES.LOLLIPOP",
337    "android.os.Build.VERSION_CODES.TIRAMISU",
338    "android.bluetooth.BluetoothAdapter",
339    "android.bluetooth.BluetoothAdapter.LeScanCallback",
340    "android.bluetooth.BluetoothDevice",
341    "android.bluetooth.BluetoothProfile",
342    "android.bluetooth.BluetoothServerSocket",
343    "android.bluetooth.BluetoothSocket",
344    "android.bluetooth.BluetoothStatusCodes",
345    "android.os.ParcelUuid",
346    "java.util.Collections",
347    "java.util.HashMap",
348    "java.util.HashSet",
349    "java.util.Map",
350    "java.util.Set",
351    "java.util.UUID",
352    "org.robolectric.annotation.Implementation",
353    "org.robolectric.annotation.Implements",
354    "org.robolectric.RuntimeEnvironment"
355  ],
356  "name": "org.robolectric.shadows.ShadowBluetoothAdapter"
357}