toggle menu
Genius Scan SDK
99.0
androidJvm
switch theme
search in API
Genius Scan SDK
/
com.geniusscansdk.camera
/
PreviewSurfaceView
Preview
Surface
View
open
class
PreviewSurfaceView
:
SurfaceView
Members
Constructors
Preview
Surface
View
Link copied to clipboard
constructor
(
context
:
Context
)
constructor
(
context
:
Context
,
attrs
:
AttributeSet
)
constructor
(
context
:
Context
,
attrs
:
AttributeSet
,
defStyle
:
Int
)
Functions
set
Aspect
Fill
Link copied to clipboard
open
fun
setAspectFill
(
isAspectFill
:
Boolean
)
Defines whether the camera preview fills or fits the available space.
set
Aspect
Ratio
Link copied to clipboard
open
fun
setAspectRatio
(
width
:
Int
,
height
:
Int
)