-
public interface CameraCapturerUtils.CameraProviderAn interface declaring a provider of camera capturers.
-
-
Method Summary
Modifier and Type Method Description abstract CameraEnumeratorprovideEnumerator(Context context)abstract VideoCapturerprovideCapturer(Context context, LocalVideoTrackOptions options, CameraEventsDispatchHandler eventsHandler)abstract BooleanisSupported(Context context)If the return value of this method is false, this provider will be skipped when querying providers to use. abstract IntegergetCameraVersion()This acts as the priority of the CameraProvider when determining which provider to use (in order of highest to lowest). -
-
Method Detail
-
provideEnumerator
abstract CameraEnumerator provideEnumerator(Context context)
-
provideCapturer
abstract VideoCapturer provideCapturer(Context context, LocalVideoTrackOptions options, CameraEventsDispatchHandler eventsHandler)
-
isSupported
abstract Boolean isSupported(Context context)
If the return value of this method is false, this provider will be skipped when querying providers to use.
-
getCameraVersion
abstract Integer getCameraVersion()
This acts as the priority of the CameraProvider when determining which provider to use (in order of highest to lowest).
-
-
-
-