screenShare method
Implementation
Future<void> screenShare() async {
setting.addListener(() {
if (Platform.isAndroid) {
if (setting.isStart) {
_startForegroundTask();
EnxRtc.startScreenShare();
} else {
EnxRtc.stopScreenShare();
_stopForegroundTask();
}
}
});
}