![]() |
AlivcLivePusher
v6.17.0
Aliyun Live Pusher API Reference Manual for iOS Platforms
|
Background music callbacks. More...
Instance Methods | |
(void) | - onAudioEffectFinished: |
Local audio effect playback end callback. More... | |
(void) | - onCompleted: |
The callback for complete playback of background music. More... | |
(void) | - onDownloadTimeout: |
The callback indicating that the download of background music times out. More... | |
(void) | - onOpenFailed: |
The callback indicating that background music fails to play. More... | |
(void) | - onPaused: |
The callback indicating that playback of background music is paused. More... | |
(void) | - onProgress:progress:duration: |
The callback for playback progress. More... | |
(void) | - onResumed: |
The callback indicating that playback of background music is resumed. More... | |
(void) | - onStarted: |
The callback indicating that background music starts to play. More... | |
(void) | - onStoped: |
The callback indicating that background music stops playing. More... | |
Background music callbacks.
|
required |
Local audio effect playback end callback.
soundId | The unique ID assigned by the user to the audio effect file |
|
required |
The callback for complete playback of background music.
pusher | The live pusher engine object |
|
required |
The callback indicating that the download of background music times out.
pusher | The live pusher engine object |
|
required |
The callback indicating that background music fails to play.
pusher | The live pusher engine object |
|
required |
The callback indicating that playback of background music is paused.
pusher | The live pusher engine object |
|
required |
The callback for playback progress.
pusher | The live pusher engine object |
progress | play progress |
duration | duration |
|
required |
The callback indicating that playback of background music is resumed.
pusher | The live pusher engine object |
|
required |
The callback indicating that background music starts to play.
pusher | The live pusher engine object |
|
required |
The callback indicating that background music stops playing.
pusher | The live pusher engine object |