已开启
[v3-sync] PR #11008 note #2908
openharmony-docs-bot创建于 13 天前
[v3-sync] PR #11008 note #2908
已开启
共 1 个文件变更+2-2
| @@ -98,7 +98,7 @@ struct Index { | |||
| 98 | } | 98 | } |
| 99 | // [EndExclude adaptingToBluetoothMethodOne] | 99 | // [EndExclude adaptingToBluetoothMethodOne] |
| 100 | // 如暂不支持该指令,请勿注册;或在注册后但暂不使用时,通过session.off('play')取消监听。 | 100 | // 如暂不支持该指令,请勿注册;或在注册后但暂不使用时,通过session.off('play')取消监听。 |
| 101 | - // 处理完毕后,请使用setAVPlayState上报播放状态。 | 101 | + // 处理完毕后,请使用setAVPlaybackState上报播放状态。 |
| 102 | }); | 102 | }); |
| 103 | session.on('pause', () => { | 103 | session.on('pause', () => { |
| 104 | console.info(`on pause , do pause task`); | 104 | console.info(`on pause , do pause task`); |
| @@ -108,7 +108,7 @@ struct Index { | |||
| 108 | } | 108 | } |
| 109 | // [EndExclude adaptingToBluetoothMethodOne] | 109 | // [EndExclude adaptingToBluetoothMethodOne] |
| 110 | // 如暂不支持该指令,请勿注册;或在注册后但暂不使用时,通过session.off('pause')取消监听。 | 110 | // 如暂不支持该指令,请勿注册;或在注册后但暂不使用时,通过session.off('pause')取消监听。 |
| 111 | - // 处理完毕后,请使用setAVPlayState上报播放状态。 | 111 | + // 处理完毕后,请使用setAVPlaybackState上报播放状态。 |
| 112 | }); | 112 | }); |
| 113 | // [StartExclude adaptingToBluetoothMethodOne] | 113 | // [StartExclude adaptingToBluetoothMethodOne] |
| 114 | try { | 114 | try { |