# SoundPool.OnLoadCompleteListener

Added in[API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# SoundPool.OnLoadCompleteListener

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/media/SoundPool.OnLoadCompleteListener "View this page in Kotlin")\|Java

`
public
static


interface
SoundPool.OnLoadCompleteListener
`  
`


`

|------------------------------------------------|
| android.media.SoundPool.OnLoadCompleteListener |

<br />

*** ** * ** ***

## Summary

|                                                                                                                                                                  ### Public methods                                                                                                                                                                   ||
|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[onLoadComplete](https://developer.android.com/reference/android/media/SoundPool.OnLoadCompleteListener#onLoadComplete(android.media.SoundPool,%20int,%20int))`(`[SoundPool](https://developer.android.com/reference/android/media/SoundPool)` soundPool, int sampleId, int status) ` Called when a sound has completed loading. |

## Public methods

### onLoadComplete

Added in[API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public abstract void onLoadComplete (SoundPool soundPool, 
                int sampleId, 
                int status)
```

Called when a sound has completed loading.

<br />

|                                Parameters                                 ||
|-------------|--------------------------------------------------------------|
| `soundPool` | `SoundPool`: SoundPool object from the load() method <br />  |
| `sampleId`  | `int`: the sample ID of the sound loaded. <br />             |
| `status`    | `int`: the status of the load operation (0 = success) <br /> |