Interface Publisher.CameraListener

    • 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.