1{
2  "methods": {
3    "addBluetoothRoute()": {
4      "isImplementation": false,
5      "modifiers": [
6        "public"
7      ],
8      "params": [],
9      "returnType": "void",
10      "exceptions": [],
11      "name": "addBluetoothRoute()",
12      "documentation": "Adds the Bluetooth A2DP route and ensures it\u0027s the selected route, simulating connecting a\nBluetooth device.\n"
13    },
14    "callUpdateAudioRoutes(android.media.AudioRoutesInfo)": {
15      "isImplementation": false,
16      "modifiers": [
17        "private"
18      ],
19      "params": [
20        "routesInfo"
21      ],
22      "returnType": "void",
23      "exceptions": [],
24      "name": "callUpdateAudioRoutes(android.media.AudioRoutesInfo)"
25    },
26    "getBluetoothA2dpRoute()": {
27      "isImplementation": false,
28      "modifiers": [
29        "private",
30        "static"
31      ],
32      "params": [],
33      "returnType": "android.media.MediaRouter.RouteInfo",
34      "exceptions": [],
35      "name": "getBluetoothA2dpRoute()"
36    },
37    "isBluetoothRouteSelected(int)": {
38      "isImplementation": false,
39      "modifiers": [
40        "public"
41      ],
42      "params": [
43        "type"
44      ],
45      "returnType": "boolean",
46      "exceptions": [],
47      "name": "isBluetoothRouteSelected(int)",
48      "documentation": "Returns whether the Bluetooth A2DP route is the currently selected route. "
49    },
50    "newAudioRouteInfo(java.lang.String)": {
51      "isImplementation": false,
52      "modifiers": [
53        "private",
54        "static"
55      ],
56      "params": [
57        "bluetoothDeviceName"
58      ],
59      "returnType": "android.media.AudioRoutesInfo",
60      "exceptions": [],
61      "name": "newAudioRouteInfo(java.lang.String)",
62      "documentation": "Creates a new {@link AudioRoutesInfo} to be used for updating the Bluetooth audio route.\n\n@param bluetoothDeviceName the name of the Bluetooth device or null to indicate that the\n    already-existing Bluetooth A2DP device should be removed\n"
63    },
64    "removeBluetoothRoute()": {
65      "isImplementation": false,
66      "modifiers": [
67        "public"
68      ],
69      "params": [],
70      "returnType": "void",
71      "exceptions": [],
72      "name": "removeBluetoothRoute()",
73      "documentation": "Removes the Bluetooth A2DP route, simulating disconnecting the Bluetooth device. "
74    },
75    "reset()": {
76      "isImplementation": false,
77      "modifiers": [
78        "public",
79        "static"
80      ],
81      "params": [],
82      "returnType": "void",
83      "exceptions": [],
84      "name": "reset()"
85    },
86    "updateBluetoothAudioRoute(java.lang.String)": {
87      "isImplementation": false,
88      "modifiers": [
89        "private"
90      ],
91      "params": [
92        "bluetoothDeviceName"
93      ],
94      "returnType": "void",
95      "exceptions": [],
96      "name": "updateBluetoothAudioRoute(java.lang.String)",
97      "documentation": "Updates the MediaRouter\u0027s Bluetooth audio route.\n\n@param bluetoothDeviceName the name of the Bluetooth device or null to indicate that the\n    already-existing Bluetooth A2DP device should be removed\n"
98    }
99  },
100  "imports": [
101    "android.os.Build.VERSION_CODES.JELLY_BEAN",
102    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1",
103    "android.media.AudioRoutesInfo",
104    "android.media.MediaRouter",
105    "android.media.MediaRouter.RouteInfo",
106    "android.os.Parcel",
107    "android.text.TextUtils",
108    "javax.annotation.Nullable",
109    "org.robolectric.RuntimeEnvironment",
110    "org.robolectric.annotation.Implements",
111    "org.robolectric.annotation.RealObject",
112    "org.robolectric.annotation.Resetter",
113    "org.robolectric.util.ReflectionHelpers",
114    "org.robolectric.util.ReflectionHelpers.ClassParameter"
115  ],
116  "name": "org.robolectric.shadows.ShadowMediaRouter",
117  "documentation": "Shadow class for {@link android.media.MediaRouter}. "
118}