snapshot method
截取播放过程中的视频画面
返回值:
- V2TXLIVE_OK: 成功
- V2TXLIVE_ERROR_REFUSED: 播放器处于停止状态,不允许调用截图操作
Implementation
Future<V2TXLiveCode> snapshot() async {
var result = await _channel.invokeMethod('snapshot', {});
return _liveCodeWithResult(result);
}