Removed location tests and deprecated camera module.

This commit is contained in:
Nedyalko Nikolov
2016-11-10 15:32:36 +02:00
parent 813e696c50
commit d4846481c3
9 changed files with 26 additions and 213 deletions

View File

@@ -6,16 +6,18 @@ declare module "camera" {
import imageSource = require("image-source");
/**
* Take a photo using the camera.
* @param options - Optional parameter for setting different camera options.
* [Deprecated. Please use same functionality from `nativescript-camera` npm module]
*/
export function takePicture(options?: CameraOptions): Promise<imageSource.ImageSource>;
/**
* Is the camera available to use
* [Deprecated. Please use same functionality from `nativescript-camera` npm module]
*/
export function isAvailable(): Boolean;
/**
* [Deprecated. Please use same functionality from `nativescript-camera` npm module]
*/
export interface CameraOptions {
/**
* Defines the desired width (in device independent pixels) of the taken image. It should be used with height property.