toggle menu
flatInvoker
android
switch theme
search in API
reaktor-media
/
dev.shibasis.reaktor.media.camera
/
AndroidCameraAdapter
Android
Camera
Adapter
android
class
AndroidCameraAdapter
(
activity
:
ComponentActivity
,
val
permissionAdapter
:
PermissionAdapter
<
*
>
)
:
CameraAdapter
<
ComponentActivity
>
Members
Constructors
Android
Camera
Adapter
Link copied to clipboard
android
constructor
(
activity
:
ComponentActivity
,
permissionAdapter
:
PermissionAdapter
<
*
>
)
Properties
controller
Link copied to clipboard
android
val
controller
:
ComponentActivity
?
NULL_CONTROLLER
Link copied to clipboard
android
val
NULL_CONTROLLER
:
Error
permission
Adapter
Link copied to clipboard
android
val
permissionAdapter
:
PermissionAdapter
<
*
>
ref
Link copied to clipboard
android
val
ref
:
WeakRef
<
ComponentActivity
>
scope
Link copied to clipboard
android
val
scope
:
CoroutineScope
Functions
get
Camera
Link copied to clipboard
android
suspend
fun
getCamera
(
)
:
ProcessCameraProvider
?
handle
Link copied to clipboard
android
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
ComponentActivity
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
android
operator
fun
<
Result
>
invoke
(
function
:
ComponentActivity
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
android
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
ComponentActivity
.
(
)
->
Result
?
)
:
Result
?
null
Controller
Result
Link copied to clipboard
android
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>
on
State
Changed
Link copied to clipboard
android
open
override
fun
onStateChanged
(
source
:
LifecycleOwner
,
event
:
Lifecycle.Event
)
Render
Link copied to clipboard
android
@
Composable
open
override
fun
Render
(
)
start
Link copied to clipboard
android
open
suspend override
fun
start
(
)
:
CameraAdapter.CameraStart
switch
Camera
Link copied to clipboard
android
open
suspend override
fun
switchCamera
(
)
:
CameraAdapter.CameraStart