updateSource method

Future updateSource(
  1. String type,
  2. String vid,
  3. String index, {
  4. String? region,
  5. String? accessKeyId,
  6. String? accessKeySecret,
  7. String? securityToken,
  8. String? playAuth,
})

鉴权过期,更新下载源信息

Implementation

Future<dynamic> updateSource(String type, String vid, String index,
    {String? region,
    String? accessKeyId,
    String? accessKeySecret,
    String? securityToken,
    String? playAuth}) {
  var map = {
    'type': type,
    'vid': vid,
    'index': index,
    'region': region,
    'accessKeyId': accessKeyId,
    'accessKeySecret': accessKeySecret,
    'securityToken': securityToken,
    'playAuth': playAuth
  };
  return _methodChannel.invokeMethod("updateSource", map);
}