showDebugView method

Future<void> showDebugView(
  1. int showType
)

显示调试信息浮层(可以展示音视频信息和事件信息)

仪表板是一个用于状态统计和事件通知的浮动视图,便于调试。

参数:

showType 0:不显示;1:显示精简版;2:显示完整版。默认值:0

不支持:

  • web
  • Windows

Implementation

Future<void> showDebugView(
    int showType // 0: does not display; 1: displays lite edition; 2: displays full edition. Default value: 0
    ) {
  return _channel.invokeMethod('showDebugView', {
    "mode": showType,
  });
}