fix(nfc): fix Ndef class

closes #713
This commit is contained in:
Ibby 2016-10-27 08:24:28 -04:00
parent 8fbf1f2b34
commit ac181c5439

View File

@ -1,5 +1,6 @@
import { Plugin, Cordova } from './plugin'; import { Plugin, Cordova } from './plugin';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
declare let window: any;
/** /**
* @name NFC * @name NFC
* @description * @description
@ -156,9 +157,20 @@ export class NFC {
/** /**
* @private * @private
*/ */
export declare class Ndef { export class Ndef {
static uriRecord(uri: string): any; private static name = 'NFC';
static textRecord(text: string): any; private static plugin = 'phonegap-nfc';
static mimeMediaRecord(mimeType: string, payload: string): any; private static pluginRef = 'ndef';
static androidApplicationRecord(packageName: string): any;
@Cordova({ sync: true })
static uriRecord(uri: string): any { return; }
@Cordova({ sync: true })
static textRecord(text: string): any { return; }
@Cordova({ sync: true })
static mimeMediaRecord(mimeType: string, payload: string): any { return; }
@Cordova({ sync: true })
static androidApplicationRecord(packageName: string): any { return; }
} }