Update countries

This commit is contained in:
Mick Vleeshouwer 2018-03-17 21:45:24 +01:00
parent 11a402626c
commit bf88f6ee51

View File

@ -53,19 +53,22 @@ export interface OpenALPRResult {
export class OpenALPR extends IonicNativePlugin { export class OpenALPR extends IonicNativePlugin {
Country = { Country = {
EU: 'eu',
US: 'us',
AU: 'au', AU: 'au',
BR: 'br', BR: 'br',
KR2: 'kr2' BR2: 'br2',
EU: 'eu',
IN: 'in',
KR2: 'kr2',
US: 'us',
VN2: 'vn2'
}; };
/** /**
* This function does something * This function does something
* @param imageData {any} Base64 encoding of the image data or the image file URI * @param imageData {any} Base64 encoding of the image data or the image file URI
* @param options {OpenALPROptions} Options to pass to the OpenALPR scanner * @param options {OpenALPROptions} Options to pass to the OpenALPR scanner
* @return {Promise<any>} Returns a promise that resolves when something happens * @return {Promise<any>} Returns a promise that resolves when something happens
*/ */
@Cordova() @Cordova()
scan(imageData: any, options?: OpenALPROptions): Promise<any> { return; } scan(imageData: any, options?: OpenALPROptions): Promise<any> { return; }
} }