@nativescript-community/ui-cameraview
Nativescript Doc
Preparing search index...
CameraView
Class CameraView
Hierarchy
GridLayout
CameraView
Index
Constructors
constructor
Properties
auto
Focus
capture
Mode?
enable
Pinch
Zoom
flash
Mode
jpeg
Quality?
max
Zoom
min
Zoom
neutral
Zoom
picture
Size?
processor
ready
To
Start
Preview
save
To
Gallery
Methods
focus
At
Point
get
All
Available
Picture
Sizes
get
Current
Resolution
Info
start
Auto
Focus
start
Preview
stop
Preview
take
Picture
toggle
Camera
Constructors
constructor
new
CameraView
()
:
CameraView
Returns
CameraView
Properties
auto
Focus
autoFocus
:
boolean
Optional
capture
Mode
captureMode
?:
number
enable
Pinch
Zoom
enablePinchZoom
:
boolean
flash
Mode
flashMode
:
string
Optional
jpeg
Quality
jpegQuality
?:
number
Readonly
max
Zoom
maxZoom
:
number
Readonly
min
Zoom
minZoom
:
number
Readonly
neutral
Zoom
neutralZoom
:
number
Optional
picture
Size
pictureSize
?:
{
height
:
number
;
width
:
number
}
processor
processor
:
any
ready
To
Start
Preview
readyToStartPreview
:
boolean
save
To
Gallery
saveToGallery
:
boolean
Methods
focus
At
Point
focusAtPoint
(
x
:
any
,
y
:
any
)
:
any
Parameters
x
:
any
y
:
any
Returns
any
get
All
Available
Picture
Sizes
getAllAvailablePictureSizes
()
:
any
Returns
any
get
Current
Resolution
Info
getCurrentResolutionInfo
()
:
any
Returns
any
start
Auto
Focus
startAutoFocus
()
:
any
Returns
any
start
Preview
startPreview
()
:
any
Returns
any
stop
Preview
stopPreview
()
:
any
Returns
any
take
Picture
takePicture
<
U
extends
boolean
=
true
,
V
extends
boolean
=
false
>
(
options
?:
TakePictureOptions
<
U
,
V
>
,
)
:
Promise
<
U
extends
true
?
{
image
:
string
}
:
V
extends
true
?
{
image
:
any
;
processor
:
any
}
:
{
image
:
any
;
info
:
any
}
,
>
Type Parameters
U
extends
boolean
=
true
V
extends
boolean
=
false
Parameters
Optional
options
:
TakePictureOptions
<
U
,
V
>
Returns
Promise
<
U
extends
true
?
{
image
:
string
}
:
V
extends
true
?
{
image
:
any
;
processor
:
any
}
:
{
image
:
any
;
info
:
any
}
,
>
toggle
Camera
toggleCamera
()
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
auto
Focus
capture
Mode
enable
Pinch
Zoom
flash
Mode
jpeg
Quality
max
Zoom
min
Zoom
neutral
Zoom
picture
Size
processor
ready
To
Start
Preview
save
To
Gallery
Methods
focus
At
Point
get
All
Available
Picture
Sizes
get
Current
Resolution
Info
start
Auto
Focus
start
Preview
stop
Preview
take
Picture
toggle
Camera
Nativescript Doc
@nativescript-community/ui-cameraview
Loading...