Skip to content

[Discussions] 为什么numberOfRetries在鸿蒙里是5次,android和iOS不设置重试 #350

@bunny-pu

Description

@bunny-pu

Content

final result = await _channel.invokeMethod<Uint8List>('compressWithList', {
      'list': image,
      'minWidth': minWidth,
      'minHeight': minHeight,
      'inSampleSize': inSampleSize,
      'quality': quality,
      'rotate': rotate,
      'autoCorrectionAngle': autoCorrectionAngle,
      'format': format.index,
      'keepExif': keepExif,
      'numberOfRetries': numberOfRetries,
    });

鸿蒙的compressWithList方法有参数numberOfRetries,但Android和iOS的compressWithList方法却没有
为什么区别处理呢?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions