enableVideo property
bool
enableVideo
Returns true
if Video is enabled.
Videoを有効にする場合true
が返ります。
Implementation
bool get enableVideo => _enableVideo;
Returns true
if Video is enabled.
Videoを有効にする場合true
が返ります。
Implementation
set enableVideo(bool enableVideo) {
if (_enableVideo == enableVideo) {
return;
}
if (_engine == null) {
throw Exception(
"The engine is not initialized. [connect] the engine first.",
);
}
_enableVideo = enableVideo;
if (_enableVideo) {
_engine?.enableVideo();
} else {
_engine?.disableVideo();
}
notifyListeners();
}