-
public interface PassioCameraViewProviderInterface responsible for providing the Passio camera engine with the PreviewView from the view hierarchy as well as the the LifecycleOwner component that has the control of the PreviewView.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPassioCameraViewProvider.CameraFacingUsed upon starting the camera to choose which camera to open.
-
Method Summary
Modifier and Type Method Description abstract PreviewViewrequestPreviewView()Provide the PreviewView to the camera engine. abstract LifecycleOwnerrequestCameraLifecycleOwner()Provide the LifecycleOwner to the camera engine that has control over the camera's lifecycle. -
-
Method Detail
-
requestPreviewView
abstract PreviewView requestPreviewView()
Provide the PreviewView to the camera engine.
-
requestCameraLifecycleOwner
abstract LifecycleOwner requestCameraLifecycleOwner()
Provide the LifecycleOwner to the camera engine that has control over the camera's lifecycle.
-
-
-
-