Remove unused getters and setters

Note that the session ID, user ID and the stream type attributes are
still kept, as they can be useful to identify the instance when
debugging.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2022-11-25 13:12:42 +01:00 committed by Marcel Hibbe (Rebase PR Action)
parent 339d65dff8
commit e887fde2a3

View File

@ -37,24 +37,12 @@ public class ParticipantDisplayItem {
this.updateUrlForAvatar(); this.updateUrlForAvatar();
} }
public String getUserId() {
return userId;
}
public void setUserId(String userId) { public void setUserId(String userId) {
this.userId = userId; this.userId = userId;
this.updateUrlForAvatar(); this.updateUrlForAvatar();
} }
public String getSession() {
return session;
}
public void setSession(String session) {
this.session = session;
}
public boolean isConnected() { public boolean isConnected() {
return iceConnectionState == PeerConnection.IceConnectionState.CONNECTED || return iceConnectionState == PeerConnection.IceConnectionState.CONNECTED ||
iceConnectionState == PeerConnection.IceConnectionState.COMPLETED; iceConnectionState == PeerConnection.IceConnectionState.COMPLETED;
@ -98,14 +86,6 @@ public class ParticipantDisplayItem {
this.mediaStream = mediaStream; this.mediaStream = mediaStream;
} }
public String getStreamType() {
return streamType;
}
public void setStreamType(String streamType) {
this.streamType = streamType;
}
public boolean isStreamEnabled() { public boolean isStreamEnabled() {
return streamEnabled; return streamEnabled;
} }
@ -118,10 +98,6 @@ public class ParticipantDisplayItem {
return rootEglBase; return rootEglBase;
} }
public void setRootEglBase(EglBase rootEglBase) {
this.rootEglBase = rootEglBase;
}
public boolean isAudioEnabled() { public boolean isAudioEnabled() {
return isAudioEnabled; return isAudioEnabled;
} }