isFeatureSupported static method

Future<bool> isFeatureSupported(
  1. ZegoFeatureType featureType
)

Query whether the current SDK supports the specified feature.

Available since: 2.22.0 Description: Since the SDK supports feature trimming, some features may be trimmed; you can use this function to quickly determine whether the current SDK supports the specified features, such as querying whether the media player feature is supported. When to call: Any time.

  • featureType Type of feature to query.
  • Returns Whether the specified feature is supported. true: supported; false: not supported.

Implementation

static Future<bool> isFeatureSupported(ZegoFeatureType featureType) async {
  return await ZegoExpressImpl.isFeatureSupported(featureType);
}