TVIRoomDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | TVIRoom.h |
– didConnectToRoom:
This method is invoked on successful completion of connect.
- (void)didConnectToRoom:(nonnull TVIRoom *)roomParameters
room |
The Room for which connection succeeded. |
|---|
Declared In
TVIRoom.h
– room:didFailToConnectWithError:
This method is invoked when connecting to the Room succeeds.
- (void)room:(nonnull TVIRoom *)room didFailToConnectWithError:(nonnull NSError *)errorParameters
room |
The Room to which connect failed. |
|---|---|
error |
The error encountered. |
Declared In
TVIRoom.h
– room:didDisconnectWithError:
This method is invoked when the Client disconnects from a Room.
- (void)room:(nonnull TVIRoom *)room didDisconnectWithError:(nullable NSError *)errorParameters
room |
The Room from which the Client disconnected. |
|---|---|
error |
An NSError describing why disconnect occurred, or nil if the disconnect was initiated locally. |
Declared In
TVIRoom.h
– room:participantDidConnect:
This method is invoked when a participant connects to the Room.
- (void)room:(nonnull TVIRoom *)room participantDidConnect:(nonnull TVIParticipant *)participantParameters
room |
The Room to which a participant got connected. |
|---|---|
participant |
The participant who connected to the Room. |
Declared In
TVIRoom.h
– room:participantDidDisconnect:
This method is invoked when a participant disconnects from the Room.
- (void)room:(nonnull TVIRoom *)room participantDidDisconnect:(nonnull TVIParticipant *)participantParameters
room |
The Room from which a participant got disconnected. |
|---|---|
participant |
The participant who disconnected from the Room. |
Declared In
TVIRoom.h
– roomDidStartRecording:
Called when the media being shared to a Room is being recorded.
- (void)roomDidStartRecording:(nonnull TVIRoom *)roomParameters
room |
The Room for which recording has been started. |
|---|
Declared In
TVIRoom.h
– roomDidStopRecording:
This method is invoked when the recording of media shared to a Room has stopped.
- (void)roomDidStopRecording:(nonnull TVIRoom *)roomParameters
room |
The Room for which recording has been stopped. |
|---|
Declared In
TVIRoom.h