toggle menu
lunaCore
androidJvm
switch theme
search in API
lunaCore
/
ru.visionlabs.grafika
/
CameraUtils
Camera
Utils
open
class
CameraUtils
Camera-related utility functions.
Members
Constructors
Camera
Utils
Link copied to clipboard
constructor
(
)
Functions
choose
Fixed
Preview
Fps
Link copied to clipboard
open
fun
chooseFixedPreviewFps
(
parms
:
Camera.Parameters
,
desiredThousandFps
:
Int
)
:
Int
Attempts to find a fixed preview frame rate that matches the desired frame rate.
choose
Preview
Size
Link copied to clipboard
open
fun
choosePreviewSize
(
parms
:
Camera.Parameters
,
width
:
Int
,
height
:
Int
)
Attempts to find a preview size that matches the provided width and height (which specify the dimensions of the encoded video).