1{ 2 "methods": { 3 "_play(int,float,float,int,int,float)": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [ 9 "soundID", 10 "leftVolume", 11 "rightVolume", 12 "priority", 13 "loop", 14 "rate" 15 ], 16 "returnType": "int", 17 "exceptions": [], 18 "minSdk": 23, 19 "name": "_play(int,float,float,int,int,float)" 20 }, 21 "clearPlayed()": { 22 "isImplementation": false, 23 "modifiers": [ 24 "public" 25 ], 26 "params": [], 27 "returnType": "void", 28 "exceptions": [], 29 "name": "clearPlayed()", 30 "documentation": "Clears the sounds played by this SoundPool. " 31 }, 32 "getPathPlaybacks(java.lang.String)": { 33 "isImplementation": false, 34 "modifiers": [ 35 "public" 36 ], 37 "params": [ 38 "path" 39 ], 40 "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowSoundPool.Playback\u003e", 41 "exceptions": [], 42 "name": "getPathPlaybacks(java.lang.String)", 43 "documentation": "Return a list of calls to {@code play} made for the given path. " 44 }, 45 "getResourcePlaybacks(int)": { 46 "isImplementation": false, 47 "modifiers": [ 48 "public" 49 ], 50 "params": [ 51 "resId" 52 ], 53 "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowSoundPool.Playback\u003e", 54 "exceptions": [], 55 "name": "getResourcePlaybacks(int)", 56 "documentation": "Return a list of calls to {@code play} made for the given resource. " 57 }, 58 "getService()": { 59 "isImplementation": true, 60 "modifiers": [ 61 "protected", 62 "static" 63 ], 64 "params": [], 65 "returnType": "android.media.IAudioService", 66 "exceptions": [], 67 "minSdk": 24, 68 "maxSdk": 25, 69 "name": "getService()" 70 }, 71 "idIsForPath(int,java.lang.String)": { 72 "isImplementation": false, 73 "modifiers": [ 74 "private" 75 ], 76 "params": [ 77 "soundId", 78 "path" 79 ], 80 "returnType": "boolean", 81 "exceptions": [], 82 "name": "idIsForPath(int,java.lang.String)" 83 }, 84 "idIsForResource(int,int)": { 85 "isImplementation": false, 86 "modifiers": [ 87 "private" 88 ], 89 "params": [ 90 "soundId", 91 "resId" 92 ], 93 "returnType": "boolean", 94 "exceptions": [], 95 "name": "idIsForResource(int,int)" 96 }, 97 "load(android.content.Context,int,int)": { 98 "isImplementation": true, 99 "modifiers": [ 100 "protected" 101 ], 102 "params": [ 103 "context", 104 "resId", 105 "priority" 106 ], 107 "returnType": "int", 108 "exceptions": [], 109 "name": "load(android.content.Context,int,int)" 110 }, 111 "load(java.lang.String,int)": { 112 "isImplementation": true, 113 "modifiers": [ 114 "protected" 115 ], 116 "params": [ 117 "path", 118 "priority" 119 ], 120 "returnType": "int", 121 "exceptions": [], 122 "name": "load(java.lang.String,int)" 123 }, 124 "notifyPathLoaded(java.lang.String,boolean)": { 125 "isImplementation": false, 126 "modifiers": [ 127 "public" 128 ], 129 "params": [ 130 "path", 131 "success" 132 ], 133 "returnType": "void", 134 "exceptions": [], 135 "name": "notifyPathLoaded(java.lang.String,boolean)", 136 "documentation": "Notify the {@link OnLoadCompleteListener}, if present, that the given path was loaded. " 137 }, 138 "notifyResourceLoaded(int,boolean)": { 139 "isImplementation": false, 140 "modifiers": [ 141 "public" 142 ], 143 "params": [ 144 "resId", 145 "success" 146 ], 147 "returnType": "void", 148 "exceptions": [], 149 "name": "notifyResourceLoaded(int,boolean)", 150 "documentation": "Notify the {@link OnLoadCompleteListener}, if present, that the given resource was loaded. " 151 }, 152 "play(int,float,float,int,int,float)": { 153 "isImplementation": true, 154 "modifiers": [ 155 "protected" 156 ], 157 "params": [ 158 "soundID", 159 "leftVolume", 160 "rightVolume", 161 "priority", 162 "loop", 163 "rate" 164 ], 165 "returnType": "int", 166 "exceptions": [], 167 "maxSdk": 22, 168 "name": "play(int,float,float,int,int,float)" 169 }, 170 "setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener)": { 171 "isImplementation": true, 172 "modifiers": [ 173 "protected" 174 ], 175 "params": [ 176 "listener" 177 ], 178 "returnType": "void", 179 "exceptions": [], 180 "name": "setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener)" 181 }, 182 "wasPathPlayed(java.lang.String)": { 183 "isImplementation": false, 184 "modifiers": [ 185 "public" 186 ], 187 "params": [ 188 "path" 189 ], 190 "returnType": "boolean", 191 "exceptions": [], 192 "name": "wasPathPlayed(java.lang.String)", 193 "documentation": "Returns {@code true} if the given path was played. " 194 }, 195 "wasResourcePlayed(int)": { 196 "isImplementation": false, 197 "modifiers": [ 198 "public" 199 ], 200 "params": [ 201 "resId" 202 ], 203 "returnType": "boolean", 204 "exceptions": [], 205 "name": "wasResourcePlayed(int)", 206 "documentation": "Returns {@code true} if the given resource was played. " 207 } 208 }, 209 "imports": [ 210 "android.os.Build.VERSION_CODES.LOLLIPOP_MR1", 211 "android.os.Build.VERSION_CODES.M", 212 "android.os.Build.VERSION_CODES.N", 213 "android.os.Build.VERSION_CODES.N_MR1", 214 "android.content.Context", 215 "android.media.IAudioService", 216 "android.media.SoundPool", 217 "android.media.SoundPool.OnLoadCompleteListener", 218 "android.util.SparseArray", 219 "android.util.SparseIntArray", 220 "com.google.common.collect.ImmutableList", 221 "java.util.ArrayList", 222 "java.util.Arrays", 223 "java.util.List", 224 "java.util.Objects", 225 "java.util.concurrent.atomic.AtomicInteger", 226 "org.robolectric.annotation.Implementation", 227 "org.robolectric.annotation.Implements", 228 "org.robolectric.annotation.RealObject", 229 "org.robolectric.util.ReflectionHelpers", 230 "org.robolectric.shadows.ShadowSoundPool.Playback" 231 ], 232 "name": "org.robolectric.shadows.ShadowSoundPool" 233}