ios_getScreenCaptureSourceList method

Future<ByteRTCScreenCaptureSourceInfo?> ios_getScreenCaptureSourceList()

@platform ios @hidden(iOS) @detail api @author liyi.000 @brief Get the list of shared objects (application windows and screens). @return The list of shared objects. See ByteRTCScreenCaptureSourceInfo{@link #ByteRTCScreenCaptureSourceInfo}。
The enumerated value can be used for startScreenVideoCapture:captureParameters:{@link #ByteRTCEngine#startScreenVideoCapture:captureParameters}. @note Only valid for PC and macOS.

Implementation

Future<$p_i.ByteRTCScreenCaptureSourceInfo?>
    ios_getScreenCaptureSourceList() async {
  $() => ($instance as $p_i.ByteRTCEngine).getScreenCaptureSourceList();

  if (Platform.isIOS) {
    return $();
  } else {
    throw UnsupportedError(
        'Not Support Platform ${Platform.operatingSystem}');
  }
}