OnProgress typedef

void OnProgress (
  1. int currentSize,
  2. int totalSize
)

进度回调

Implementation

typedef OnProgress = void Function(int currentSize, int totalSize);