setCategory method

FutureOr<void> setCategory(
  1. String category
)

{zh} @brief 素材分类。当上传类型为素材时,可以指定素材的分类信息,必填。可选值为 video、audio、image、dynamic_img、subtitle、font。分别对应:视频、音频、图片、动图、字幕、字体。

Implementation

FutureOr<void> setCategory(String category) async {
  return await nativeCall('setCategory', [category]);
}