diff --git a/src/@awesome-cordova-plugins/plugins/anyline/index.ts b/src/@awesome-cordova-plugins/plugins/anyline/index.ts index 7fcbc4fce..b97713ec4 100644 --- a/src/@awesome-cordova-plugins/plugins/anyline/index.ts +++ b/src/@awesome-cordova-plugins/plugins/anyline/index.ts @@ -1,12 +1,8 @@ import { Injectable } from '@angular/core'; import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core'; -export interface AnylineOptions { - // Valid License Key - licenseKey: string; - - // Scanning options - config: any; +export interface AnylineConfig { + [key: string]: any; } /** @@ -38,14 +34,29 @@ export interface AnylineOptions { }) @Injectable() export class Anyline extends AwesomeCordovaNativePlugin { + @Cordova() + checkLicense(licenseKey: string): Promise { + return; + } + + @Cordova() + initAnylineSDK(licenseKey: string): Promise { + return; + } + + @Cordova() + getSDKVersion(): Promise { + return; + } + /** * Scan * - * @param options {AnylineOptions} Scanning options + * @param config {AnylineConfig} Scanning options * @returns {Promise} Returns a promise that resolves when Code is captured */ @Cordova() - scan(options: AnylineOptions): Promise { + scan(config: AnylineConfig): Promise { return; } }