toggle menu
flatInvoker
ios
switch theme
search in API
reaktor-media
/
dev.shibasis.reaktor.media.camera
/
DarwinCameraAdapter
Darwin
Camera
Adapter
ios
class
DarwinCameraAdapter
(
viewController
:
UIViewController
)
:
CameraAdapter
<
UIViewController
>
Members
Constructors
Darwin
Camera
Adapter
Link copied to clipboard
ios
constructor
(
viewController
:
UIViewController
)
Properties
capture
Session
Link copied to clipboard
ios
val
captureSession
:
AVCaptureSession
controller
Link copied to clipboard
ios
val
controller
:
UIViewController
?
NULL_CONTROLLER
Link copied to clipboard
ios
val
NULL_CONTROLLER
:
Error
photo
Output
Link copied to clipboard
ios
val
photoOutput
:
AVCapturePhotoOutput
preview
Layer
Link copied to clipboard
ios
val
previewLayer
:
AVCaptureVideoPreviewLayer
ref
Link copied to clipboard
ios
val
ref
:
WeakRef
<
UIViewController
>
scope
Link copied to clipboard
ios
val
scope
:
CoroutineScope
Functions
camera
Input
Link copied to clipboard
ios
fun
cameraInput
(
cameraDevice
:
AVCaptureDevice
)
:
AVCaptureDeviceInput
?
front
Camera
Link copied to clipboard
ios
fun
frontCamera
(
)
:
AVCaptureDevice
handle
Link copied to clipboard
ios
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
UIViewController
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
ios
operator
fun
<
Result
>
invoke
(
function
:
UIViewController
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
ios
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
UIViewController
.
(
)
->
Result
?
)
:
Result
?
listen
For
Rotation
Link copied to clipboard
ios
fun
listenForRotation
(
)
null
Controller
Result
Link copied to clipboard
ios
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>
Render
Link copied to clipboard
ios
@
Composable
open
override
fun
Render
(
)
setup
Camera
Link copied to clipboard
ios
fun
setupCamera
(
)
:
CameraAdapter.CameraStart
start
Link copied to clipboard
ios
open
suspend override
fun
start
(
)
:
CameraAdapter.CameraStart
switch
Camera
Link copied to clipboard
ios
open
suspend
fun
switchCamera
(
)
:
CameraAdapter.CameraStart