public static interface SoundPlayer.OnCreateCompleteListener
setOnCreateCompleteListener.SystemCapability.Multimedia#AUDIO| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onCreateComplete(SoundPlayer soundPlayer,
int cacheId,
int status) |
Called when the sound is created.
|
void onCreateComplete(SoundPlayer soundPlayer, int cacheId, int status)
soundPlayer - Indicates this SoundPlayer instance.cacheId - Indicates the sound ID returned after the creation.status - Indicates the creation status. Value 0 means success, and other values
mean failure.