Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface MediaFile {
/**
@@ -59,39 +59,39 @@ export interface MediaFileData {
export interface VideoCapturePlusOptions {
/**
* The number of videos to record, default 1 (on iOS always 1)
*/
* The number of videos to record, default 1 (on iOS always 1)
*/
limit?: number;
/**
* Max duration in seconds, default 0, which is 'forever'
*/
* Max duration in seconds, default 0, which is 'forever'
*/
duration?: number;
/**
* Set to true to override the default low quality setting
*/
* Set to true to override the default low quality setting
*/
highquality?: boolean;
/**
* Set to true to override the default backfacing camera setting.
* You'll want to sniff the useragent/device and pass the best overlay based on that.. assuming iphone here
*/
* Set to true to override the default backfacing camera setting.
* You'll want to sniff the useragent/device and pass the best overlay based on that.. assuming iphone here
*/
frontcamera?: boolean;
/**
* put the png overlay in your assets folder
*/
* put the png overlay in your assets folder
*/
portraitOverlay?: string;
/**
* not passing an overlay means no image is shown for the landscape orientation
*/
* not passing an overlay means no image is shown for the landscape orientation
*/
landscapeOverlay?: string;
/**
* iOS only
*/
* iOS only
*/
overlayText?: string;
}
@@ -147,6 +147,8 @@ export class VideoCapturePlus extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
captureVideo(options?: VideoCapturePlusOptions): Promise<MediaFile[]> { return; }
captureVideo(options?: VideoCapturePlusOptions): Promise<MediaFile[]> {
return;
}
}