Package com.opentok.android
Interface Publisher.CameraListener
- Enclosing class:
Publisher
public static interface Publisher.CameraListener
Monitors when the camera used by the publisher changes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
onCameraChanged
Invoked when the publisher changes the active camera.- Parameters:
publisher
- The publisher.newCameraId
- The ID of the new active camera.
-
onCameraError
Invoked when there is an error accessing the camera.- Parameters:
publisher
- The publisher.error
- The error.
-