WebcamRequestListener

Listener interface for responding to a webcam enable request from a remote participant.

This listener is provided in the onWebcamRequested callback. Call accept to enable the webcam or reject to decline the request.

Code Example:



public void onWebcamRequested(String participantId, WebcamRequestListener listener) {
    // Show a dialog, then:
    listener.accept();  // or listener.reject();
}

See also

MeetingEventListener.onWebcamRequested()

Participant.enableWebcam()

Functions

Link copied to clipboard
abstract fun accept()
Accepts the webcam request and enables the local participant's webcam.
Link copied to clipboard
abstract fun reject()
Rejects the webcam request.