docs: refresh readmes

This commit is contained in:
Daniel Sogl
2022-09-05 17:10:51 +00:00
parent 8b826e3c1b
commit e420bd1d2a
5 changed files with 59 additions and 38 deletions
@@ -47,7 +47,7 @@ export enum EnumResolution {
RESOLUTION_720P = 2,
RESOLUTION_1080P = 3,
RESOLUTION_2K = 4,
RESOLUTION_4K = 5
RESOLUTION_4K = 5,
}
/**
@@ -199,12 +199,11 @@ export class BarcodeScanner extends AwesomeCordovaNativePlugin {
/**
* set focus
* @param point {x:number,y:number} focus point
* @param point focus point
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
setFocus(point: {x:number,y:number}): Promise<any> {
return;
}
@Cordova({ successIndex: 1, errorIndex: 2 })
setFocus(point: { x: number; y: number }): Promise<any> {
return;
}
}