Package com.twilio.video
Interface CameraCapturer.Listener
-
- Enclosing class:
- CameraCapturer
public static interface CameraCapturer.ListenerInterface that provides events and errors related toCameraCapturer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCameraSwitched(java.lang.String newCameraId)Notifies when a camera switch is complete.voidonError(int errorCode)Reports an error that occurred inCameraCapturer.voidonFirstFrameAvailable()Indicates when the first frame has been captured from the camera.
-
-
-
Method Detail
-
onFirstFrameAvailable
void onFirstFrameAvailable()
Indicates when the first frame has been captured from the camera.
-
onCameraSwitched
void onCameraSwitched(@NonNull java.lang.String newCameraId)Notifies when a camera switch is complete.- Parameters:
newCameraId- the camera ID after camera switch is complete.
-
onError
void onError(int errorCode)
Reports an error that occurred inCameraCapturer.- Parameters:
errorCode- the code that describes the error that occurred.
-
-