mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Updated camera module to support full size images (Android) and custom size images.
This commit is contained in:
4
camera/camera.d.ts
vendored
4
camera/camera.d.ts
vendored
@ -7,6 +7,8 @@ declare module "camera" {
|
||||
|
||||
/**
|
||||
* Take a photo using the camera.
|
||||
* @param width - Optional parameter which defines the required width of the taken picture.
|
||||
* @param height - Optional parameter which defines the required height of the taken picture.
|
||||
*/
|
||||
export function takePicture(): Promise<imageSource.ImageSource>;
|
||||
export function takePicture(width?: number, heigth?: number): Promise<imageSource.ImageSource>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user