mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-21 09:16:26 +08:00
docs(fingerprint-aio): typo
This commit is contained in:
parent
7e0b9a488d
commit
87f8505d93
@ -1,6 +1,5 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||||
|
|
||||||
|
|
||||||
export interface FingerprintOptions {
|
export interface FingerprintOptions {
|
||||||
/**
|
/**
|
||||||
@ -66,20 +65,22 @@ export interface FingerprintOptions {
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class FingerprintAIO extends IonicNativePlugin {
|
export class FingerprintAIO extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if fingerprint authentication is available
|
* Check if fingerprint authentication is available
|
||||||
* @return {Promise<any>} Returns a promise with result
|
* @return {Promise<any>} Returns a promise with result
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
isAvailable(): Promise<any> { return; }
|
isAvailable(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show authentication dialogue
|
* Show authentication dialogue
|
||||||
* @param options {FingerprintOptions} options for platform specific fingerprint API
|
* @param {FingerprintOptions} options Options for platform specific fingerprint API
|
||||||
* @return {Promise<any>} Returns a promise that resolves when authentication was successfull
|
* @return {Promise<any>} Returns a promise that resolves when authentication was successful
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
show(options: FingerprintOptions): Promise<any> { return; }
|
show(options: FingerprintOptions): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user