getSupportedPlatforms static method

List<String> getSupportedPlatforms(
  1. MediasfuFeature feature
)

Returns the list of supported platforms for a given feature.

Implementation

static List<String> getSupportedPlatforms(MediasfuFeature feature) {
  switch (feature) {
    case MediasfuFeature.screenboard:
      return ['Web'];

    case MediasfuFeature.virtualBackgrounds:
      return ['Android', 'iOS', 'macOS'];

    case MediasfuFeature.screenShare:
      return ['Web', 'Android', 'iOS', 'Windows', 'macOS', 'Linux'];

    case MediasfuFeature.whiteboard:
      return ['Web', 'Android', 'iOS', 'Windows', 'macOS', 'Linux'];
  }
}