isFeatureSupport static method

Future<bool> isFeatureSupport(
  1. SupportFeatureType type
)

返回某项功能是否支持 type 是否支持的功能的类型。 参考SupportFeatureType。

Implementation

static Future<bool> isFeatureSupport(SupportFeatureType type) async {
  bool boolV = await FlutterAliPlayerFactory.methodChannel
      .invokeMethod("isFeatureSupport", type.index);
  return boolV;
}