{ "methods": { "_play(int,float,float,int,int,float)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "soundID", "leftVolume", "rightVolume", "priority", "loop", "rate" ], "returnType": "int", "exceptions": [], "minSdk": 23, "name": "_play(int,float,float,int,int,float)" }, "clearPlayed()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "void", "exceptions": [], "name": "clearPlayed()", "documentation": "Clears the sounds played by this SoundPool. " }, "getPathPlaybacks(java.lang.String)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "path" ], "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowSoundPool.Playback\u003e", "exceptions": [], "name": "getPathPlaybacks(java.lang.String)", "documentation": "Return a list of calls to {@code play} made for the given path. " }, "getResourcePlaybacks(int)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "resId" ], "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowSoundPool.Playback\u003e", "exceptions": [], "name": "getResourcePlaybacks(int)", "documentation": "Return a list of calls to {@code play} made for the given resource. " }, "getService()": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [], "returnType": "android.media.IAudioService", "exceptions": [], "minSdk": 24, "maxSdk": 25, "name": "getService()" }, "idIsForPath(int,java.lang.String)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "soundId", "path" ], "returnType": "boolean", "exceptions": [], "name": "idIsForPath(int,java.lang.String)" }, "idIsForResource(int,int)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "soundId", "resId" ], "returnType": "boolean", "exceptions": [], "name": "idIsForResource(int,int)" }, "load(android.content.Context,int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "context", "resId", "priority" ], "returnType": "int", "exceptions": [], "name": "load(android.content.Context,int,int)" }, "load(java.lang.String,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "path", "priority" ], "returnType": "int", "exceptions": [], "name": "load(java.lang.String,int)" }, "notifyPathLoaded(java.lang.String,boolean)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "path", "success" ], "returnType": "void", "exceptions": [], "name": "notifyPathLoaded(java.lang.String,boolean)", "documentation": "Notify the {@link OnLoadCompleteListener}, if present, that the given path was loaded. " }, "notifyResourceLoaded(int,boolean)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "resId", "success" ], "returnType": "void", "exceptions": [], "name": "notifyResourceLoaded(int,boolean)", "documentation": "Notify the {@link OnLoadCompleteListener}, if present, that the given resource was loaded. " }, "play(int,float,float,int,int,float)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "soundID", "leftVolume", "rightVolume", "priority", "loop", "rate" ], "returnType": "int", "exceptions": [], "maxSdk": 22, "name": "play(int,float,float,int,int,float)" }, "setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "listener" ], "returnType": "void", "exceptions": [], "name": "setOnLoadCompleteListener(android.media.SoundPool.OnLoadCompleteListener)" }, "wasPathPlayed(java.lang.String)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "path" ], "returnType": "boolean", "exceptions": [], "name": "wasPathPlayed(java.lang.String)", "documentation": "Returns {@code true} if the given path was played. " }, "wasResourcePlayed(int)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "resId" ], "returnType": "boolean", "exceptions": [], "name": "wasResourcePlayed(int)", "documentation": "Returns {@code true} if the given resource was played. " } }, "imports": [ "android.os.Build.VERSION_CODES.LOLLIPOP_MR1", "android.os.Build.VERSION_CODES.M", "android.os.Build.VERSION_CODES.N", "android.os.Build.VERSION_CODES.N_MR1", "android.content.Context", "android.media.IAudioService", "android.media.SoundPool", "android.media.SoundPool.OnLoadCompleteListener", "android.util.SparseArray", "android.util.SparseIntArray", "com.google.common.collect.ImmutableList", "java.util.ArrayList", "java.util.Arrays", "java.util.List", "java.util.Objects", "java.util.concurrent.atomic.AtomicInteger", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.util.ReflectionHelpers", "org.robolectric.shadows.ShadowSoundPool.Playback" ], "name": "org.robolectric.shadows.ShadowSoundPool" }