public static interface Publisher.CameraListener
Modifier and Type | Method and 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.
|
void onCameraChanged(Publisher publisher, int newCameraId)
publisher
- The publisher.newCameraId
- The ID of the new active camera.void onCameraError(Publisher publisher, OpentokError error)
publisher
- The publisher.error
- The error.