getVideoController method

Future<BigoAdVideoController?> getVideoController()

Implementation

Future<BigoAdVideoController?> getVideoController() async {
  if (_videoController != null) {
    return _videoController;
  }
  bool hasVideoController = await _invokeAdEvent('getVideoController')?? false;
  if (hasVideoController) {
    _videoController = BigoAdVideoController(nativeAd: this);
  }
  return _videoController;
}