UNPKG

@iotize/ionic

Version:

Iotize specific building blocks on top of @ionic/angular.

26 lines (25 loc) 889 B
import { NfcTag } from '@awesome-cordova-plugins/nfc/ngx'; import { Platform } from '@ionic/angular'; import { Observable } from 'rxjs'; import { NfcService, RecoverableTapState } from './nfc-service.service'; import * as i0 from "@angular/core"; export interface TapNfcEvent { tag: NfcTag; tap?: RecoverableTapState | undefined; } export declare class TapScannerNfcService { private nfcService; private platform; private _iosMockTapEvent; /** * TODO refractor */ tapEvent: Observable<TapNfcEvent>; isStartScanAvailable: boolean; constructor(nfcService: NfcService, platform: Platform); listenToNfcTaps(): Promise<void>; init(): Promise<void>; start(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TapScannerNfcService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TapScannerNfcService>; }