Merge branch 'master' of github.com:driftyco/ionic-native

This commit is contained in:
Ibby 2017-01-07 05:44:45 -05:00
commit 49325e8b93

View File

@ -62,18 +62,19 @@ export class NFC {
/** /**
* Registers an event listener for NDEF tags matching a specified MIME type. * Registers an event listener for NDEF tags matching a specified MIME type.
* @param mimeType
* @param onSuccess * @param onSuccess
* @param onFailure * @param onFailure
* @returns {Observable<any>} * @returns {Observable<any>}
*/ */
@Cordova({ @Cordova({
observable: true, observable: true,
successIndex: 0, successIndex: 1,
errorIndex: 3, errorIndex: 4,
clearFunction: 'removeMimeTypeListener', clearFunction: 'removeMimeTypeListener',
clearWithArgs: true clearWithArgs: true
}) })
static addMimeTypeListener(onSuccess?: Function, onFailure?: Function): Observable<any> {return; } static addMimeTypeListener(mimeType: string, onSuccess?: Function, onFailure?: Function): Observable<any> {return; }
/** /**
* Registers an event listener for formatable NDEF tags. * Registers an event listener for formatable NDEF tags.