文件目录创建
This commit is contained in:
parent
97a5ca1ec2
commit
1bb95e3b13
|
@ -0,0 +1,2 @@
|
||||||
|
/*
|
||||||
|
* asdfasdfasdfasdfasdf*/
|
|
@ -0,0 +1,2 @@
|
||||||
|
/*
|
||||||
|
* dsasdafasdfasdf*/
|
|
@ -0,0 +1,2 @@
|
||||||
|
/*
|
||||||
|
* asdfasdfasdfasdfasdf*/
|
|
@ -188,7 +188,7 @@ export class RequestManager {
|
||||||
let success = (value: PixelMap) => {
|
let success = (value: PixelMap) => {
|
||||||
onComplete(value);
|
onComplete(value);
|
||||||
}
|
}
|
||||||
this.mParseImageUtil.parseImage(arrayBuffer, success, onError)
|
this.mParseImageUtil.parseImage(arrayBuffer, success, onError,request)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,14 @@ import taskpool from '@ohos.taskpool';
|
||||||
import { LogUtil } from './LogUtil';
|
import { LogUtil } from './LogUtil';
|
||||||
|
|
||||||
export class ParseImageUtil implements IParseImage<PixelMap> {
|
export class ParseImageUtil implements IParseImage<PixelMap> {
|
||||||
parseImage(imageinfo: ArrayBuffer, onCompleteFunction: (value: PixelMap) => void | PromiseLike<PixelMap>, onErrorFunction: (reason?: BusinessError | string) => void) {
|
parseImage(
|
||||||
|
imageinfo: ArrayBuffer,
|
||||||
|
|
||||||
|
onCompleteFunction: (value: PixelMap) => void | PromiseLike<PixelMap>,
|
||||||
|
|
||||||
|
onErrorFunction: (reason?: BusinessError | string) => void,
|
||||||
|
request?: RequestOption
|
||||||
|
) {
|
||||||
this.parseImageThumbnail(1, imageinfo, onCompleteFunction, onErrorFunction)
|
this.parseImageThumbnail(1, imageinfo, onCompleteFunction, onErrorFunction)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue