mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-21 17:36:27 +08:00
parent
8fbf1f2b34
commit
ac181c5439
@ -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; }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user