mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
Merge branch 'master' of github.com:driftyco/ionic-native
This commit is contained in:
commit
612cb963e1
@ -70,7 +70,7 @@ export interface AdMobFreeRewardVideoConfig {
|
||||
*
|
||||
* @usage
|
||||
* ```
|
||||
* import { AdMobFree, AdMobFreeBannerConfig } from 'ionic-native';
|
||||
* import { AdMobFree, AdMobFreeBannerConfig } from '@ionic-native/admob-free';
|
||||
*
|
||||
*
|
||||
* constructor(private admobFree: AdMobFree) { }
|
||||
|
@ -17,9 +17,16 @@ declare var cordova: any;
|
||||
*
|
||||
* ...
|
||||
*
|
||||
* this.jinsMeme.setAppClientID(appClientId: string, clientSecret: string)
|
||||
* .then(this.jinsMeme.startScan())
|
||||
* .catch(console.log('jinsMeme.setAppClientID authentication error!'));
|
||||
* this.jinsMeme.setAppClientID(appClientId: string, clientSecret: string).then(
|
||||
* // Bluetooth should be enabled and the JINS MEME powered on (blinking blue light)
|
||||
* this.jinsMeme.startScan().subscribe((meme_addr) => {
|
||||
* this.jinsMeme.connect(meme_addr).subscribe((connectResult) => {
|
||||
* this.memeService.startDataReport().subscribe((dataReport) => {
|
||||
* console.log(dataReport);
|
||||
* });
|
||||
* });
|
||||
* });
|
||||
* .catch(console.log('jinsMeme.setAppClientID authentication error'));
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
@ -34,7 +41,8 @@ declare var cordova: any;
|
||||
export class JinsMeme {
|
||||
/**
|
||||
* Authentication and authorization of App and SDK.
|
||||
* Must call this method at first.
|
||||
* Must call this method first.
|
||||
* Sign up for an app ID (and get an app/client secret) at developers.jins.com
|
||||
*
|
||||
*@param {string} setAppClientID
|
||||
*@param {string} clientSecret
|
||||
|
@ -41,6 +41,26 @@ export class SecureStorageObject {
|
||||
})
|
||||
remove(reference: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Get all references from the storage.
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@CordovaInstance({
|
||||
callbackOrder: 'reverse'
|
||||
})
|
||||
keys(): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Clear all references from the storage.
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@CordovaInstance({
|
||||
callbackOrder: 'reverse'
|
||||
})
|
||||
clear(): Promise<any> { return; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user