Package live.hms.video.sdk.models
Class HMSRemovedFromRoom
-
- All Implemented Interfaces:
public final class HMSRemovedFromRoomThe notification that will be sent when someone is forced removed from the room by another person.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringreasonprivate final HMSPeerpeerWhoRemovedprivate final BooleanroomWasEnded
-
Constructor Summary
Constructors Constructor Description HMSRemovedFromRoom(String reason, HMSPeer peerWhoRemoved, Boolean roomWasEnded)
-
Method Summary
Modifier and Type Method Description final StringgetReason()final HMSPeergetPeerWhoRemoved()final BooleangetRoomWasEnded()-
-
Constructor Detail
-
HMSRemovedFromRoom
HMSRemovedFromRoom(String reason, HMSPeer peerWhoRemoved, Boolean roomWasEnded)
- Parameters:
reason- The reason given by the peerWhoRemoved for removing the peer from the room.peerWhoRemoved- The peer who removed the person from the room.roomWasEnded- true if the room was ended for everyone, false if only the receiver was removed from the room.
-
-
Method Detail
-
getPeerWhoRemoved
final HMSPeer getPeerWhoRemoved()
-
getRoomWasEnded
final Boolean getRoomWasEnded()
-
-
-
-