BlinkID
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
BlinkID
microblink-ux
/
com.microblink.ux.camera
/
CameraViewModel
Camera
View
Model
abstract
class
CameraViewModel
:
ViewModel
Members
Constructors
Camera
View
Model
Link copied to clipboard
constructor
(
)
Properties
_
torchOn
Link copied to clipboard
val
_torchOn
:
MutableStateFlow
<
Boolean
>
Updating this value will turn the torch on or off.
torch
On
Link copied to clipboard
val
torchOn
:
StateFlow
<
Boolean
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
analyze
Image
Link copied to clipboard
abstract
fun
analyzeImage
(
image
:
ImageProxy
)
Analyzes an image to produce a result.
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?