docs(plugins): update platforms supported

This commit is contained in:
Ibrahim Hadeed 2016-03-25 18:05:13 -04:00
parent dffdc1a94d
commit c9773ad7a5
4 changed files with 17 additions and 18 deletions

View File

@ -2,7 +2,6 @@ import {Plugin, Cordova} from './plugin'
/** /**
* @name Base64 To Gallery * @name Base64 To Gallery
* @description This plugin allows you to save base64 data as a png image into the device * @description This plugin allows you to save base64 data as a png image into the device
* @platforms Android, iOS, Windows Phone
* @usage * @usage
* ```ts * ```ts
* import {Base64ToGallery} from 'ionic-native'; * import {Base64ToGallery} from 'ionic-native';
@ -23,7 +22,7 @@ import {Plugin, Cordova} from './plugin'
export class Base64ToGallery { export class Base64ToGallery {
/** /**
* * Converts a base64 string to an image file in the device gallery
* @param data * @param data
* @param prefix * @param prefix
*/ */

View File

@ -3,7 +3,6 @@ import {Observable} from "rxjs/Observable";
/** /**
* @name DB Meter * @name DB Meter
* @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone. * @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone.
* @platforms Android, iOS
* @usage * @usage
* ```ts * ```ts
* import {DBMeter} from 'ionic-native'; * import {DBMeter} from 'ionic-native';
@ -33,7 +32,8 @@ import {Observable} from "rxjs/Observable";
@Plugin({ @Plugin({
plugin: 'cordova-plugin-dbmeter', plugin: 'cordova-plugin-dbmeter',
pluginRef: 'DBMeter', pluginRef: 'DBMeter',
repo: 'https://github.com/akofman/cordova-plugin-dbmeter' repo: 'https://github.com/akofman/cordova-plugin-dbmeter',
platforms: ['iOS','Android']
}) })
export class DBMeter { export class DBMeter {

View File

@ -3,7 +3,6 @@ import {Plugin, Cordova} from './plugin'
/** /**
* @name Hotspot * @name Hotspot
* @description * @description
* @platforms Android
* @usage * @usage
* ```js * ```js
* import {Hotspot} from 'ionic-native'; * import {Hotspot} from 'ionic-native';
@ -15,7 +14,8 @@ import {Plugin, Cordova} from './plugin'
@Plugin({ @Plugin({
plugin: 'cordova-plugin-hotspot', plugin: 'cordova-plugin-hotspot',
pluginRef: 'cordova.plugins.hotspot', pluginRef: 'cordova.plugins.hotspot',
repo: 'https://github.com/hypery2k/cordova-hotspot-plugin' repo: 'https://github.com/hypery2k/cordova-hotspot-plugin',
platforms: ['Android']
}) })
export class Hotspot { export class Hotspot {

View File

@ -32,50 +32,50 @@ export class Keyboard {
/** /**
* Force keyboard to be shown. * Force keyboard to be shown.
* @platforms ['Android','BlackBerry 10','Windows']
*/ */
@Cordova({ @Cordova({
sync: true sync: true,
platforms: ['Android','BlackBerry 10','Windows']
}) })
static show() : void {} static show() : void {}
/** /**
* Close the keyboard if open * Close the keyboard if open
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/ */
@Cordova({ @Cordova({
sync: true sync: true,
platforms: ['iOS','Android','BlackBerry 10','Windows']
}) })
static close() : void {} static close() : void {}
/** /**
* Prevents the native UIScrollView from moving when an input is focused. * Prevents the native UIScrollView from moving when an input is focused.
* @platforms ['iOS','Windows']
* @param disable * @param disable
*/ */
@Cordova({ @Cordova({
sync: true sync: true,
platforms: ['iOS','Windows']
}) })
static disableScroll(disable : boolean) : void {} static disableScroll(disable : boolean) : void {}
/** /**
* Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch.
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/ */
@Cordova({ @Cordova({
eventObservable: true, eventObservable: true,
event: 'native.keyboardshow' event: 'native.keyboardshow',
platforms: ['iOS','Android','BlackBerry 10','Windows']
}) })
static onKeybardShow() : Observable<any> {return} static onKeyboardShow() : Observable<any> {return}
/** /**
* Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch. * Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch.
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/ */
@Cordova({ @Cordova({
eventObservable: true, eventObservable: true,
event: 'native.keyboardhide' event: 'native.keyboardhide',
platforms: ['iOS','Android','BlackBerry 10','Windows']
}) })
static onKeybardHide() : Observable<any> {return} static onKeyboardHide() : Observable<any> {return}
} }