Skip to content

Endpoint

Ajša Terko edited this page Apr 26, 2023 · 2 revisions



identifier()

Description

Returns the value of the participant's identifier on this endpoint as a String.

Arguments

  • none

Returns

  • String - Identifier of the participant on this endpoint.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    Endpoint endpoint = participant.getEndpoint();
    Log.d("WebRTC", "Identifier of the participant on this endpoint: " + endpoint.identifier());
}



displayIdentifier()

Description

Returns the value of the participant's display identifier on this endpoint as a String.

Arguments

  • none

Returns

  • String - Display identifier of the participant on this endpoint.

Example

@Override
public void onParticipantJoined(ParticipantJoinedEvent participantJoinedEvent) {
    Participant participant = participantJoinedEvent.getParticipant();
    Endpoint endpoint = participant.getEndpoint();
    Log.d("WebRTC", "Display identifier of the participant on this endpoint: " + endpoint.displayIdentifier());
}

Tutorials

Migration guides

Reference documentation

Clone this wiki locally