|
| virtual void | StartPlay (void *hwnd, const std::function< void(void)> &on_success, const std::function< void(const ::alibaba::dps::DPSError &error_msg)> &on_fail)=0 |
| | 开始播放 More...
|
| |
|
virtual void | StopPlay ()=0 |
| | 结束播放
|
| |
| virtual void * | GetRawPlayer ()=0 |
| | 获取播放器原生接口 More...
|
| |
| virtual PluginEnum | GetPluginType ()=0 |
| | 获取插件类型 More...
|
| |
| virtual bool | IsValid ()=0 |
| | 插件是否有效 More...
|
| |
◆ GetRawPlayer()
| virtual void * IPlayer::GetRawPlayer |
( |
| ) |
|
|
pure virtual |
获取播放器原生接口
- Returns
- 播放器的裸指针,参考AliPlayer
◆ StartPlay()
| virtual void IPlayer::StartPlay |
( |
void * |
hwnd, |
|
|
const std::function< void(void)> & |
on_success, |
|
|
const std::function< void(const ::alibaba::dps::DPSError &error_msg)> & |
on_fail |
|
) |
| |
|
pure virtual |
开始播放
- Parameters
-
| hwnd | 容器窗口句柄 |
| on_success | 成功回调 |
| on_failure | 失败回调 |
The documentation for this class was generated from the following file: