InnerAudioContext.seek
版本要求:
BaseKit≥2.3.2
支持平台:
iOSAndroid
方法签名
InnerAudioContext.seek(params: )SDK 最低版本
- iOS
ThingSmartBaseKitBizBundle - ≥ 5.2.1
- Android
com.thingclips.smart:thingsmart-bizbundle-basekit - ≥ 5.2.0
描述
跳转到指定位置
参数
| 属性 | 类型 | 必填 | 默认值 | 说明 | SDK 最低版本 |
|---|---|---|---|---|---|
position | number | 否 | 0.0 | 跳转的时间,单位 s。精确到小数点后 3 位,即支持 ms 级别精确度 | — |
complete | () => void | 否 | - | 接口调用结束的回调函数(调用成功、失败都会执行) | — |
success | () => void | 否 | - | 接口调用成功的回调函数 | — |
fail | (params: Object) => void | 否 | - | 接口调用失败的回调函数 | — |
fail 回调参数
| 属性 | 类型 | 说明 |
|---|---|---|
errorMsg | string | 错误信息 |
errorCode | string | number | 错误码 |
| 错误扩展 |
返回值
无