harmony 鸿蒙IBluetoothAudioCallback
IBluetoothAudioCallback
概述
声明用于音频渲染开启、暂停,和结束的回调函数。
起始版本: 4.0
相关模块:HdiA2dp
汇总
Public 成员函数
名称 | 描述 |
---|---|
StartRender () | 启动音频渲染的回调函数。 |
SuspendRender () | 暂停音频渲染的回调函数。 |
StopRender () | 结束音频渲染的回调函数。 |
成员函数说明
StartRender()
IBluetoothAudioCallback::StartRender ()
描述
启动音频渲染的回调函数。
起始版本: 4.0
返回:
如果操作成功返回0;否则返回负值。
StopRender()
IBluetoothAudioCallback::StopRender ()
描述
结束音频渲染的回调函数。
起始版本: 4.0
返回:
如果操作成功返回0;否则返回负值。
SuspendRender()
IBluetoothAudioCallback::SuspendRender ()
描述
暂停音频渲染的回调函数。
起始版本: 4.0
返回:
如果操作成功返回0;否则返回负值。
你可能感兴趣的鸿蒙文章
harmony 鸿蒙BluetoothAudioTypes.idl
harmony 鸿蒙IBluetoothAudioCallback.idl
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦