Package com.opentok.android
Interface Publisher.CameraListener
-
- Enclosing class:
- Publisher
public static interface Publisher.CameraListener
Monitors when the camera used by the publisher changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCameraChanged(Publisher publisher, int newCameraId)
Invoked when the publisher changes the active camera.void
onCameraError(Publisher publisher, OpentokError error)
Invoked when there is an error accessing the camera.
-
-
-
Method Detail
-
onCameraChanged
void onCameraChanged(Publisher publisher, int newCameraId)
Invoked when the publisher changes the active camera.- Parameters:
publisher
- The publisher.newCameraId
- The ID of the new active camera.
-
onCameraError
void onCameraError(Publisher publisher, OpentokError error)
Invoked when there is an error accessing the camera.- Parameters:
publisher
- The publisher.error
- The error.
-
-