InnerAudioContext.seek(params: Object)
Requires:
BaseKit≥2.3.2
Platforms:
iOSAndroid
Description
Seek to the specified position
Parameters
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
position | number | No | 0.0 | Seek time in seconds. Precision to 3 decimal places (ms-level accuracy) |
complete | () => void | No | - | Completion callback (executed on both success and failure) |
success | () => void | No | - | Callback on successful API call |
fail | (params: Object) => void | No | - | Failure callback |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None