RemoveRoom
Methods
public void RemoveRoom(RoomData roomData, Action<RequestResponse<string>> onRequestFinished)
Remove an existing room that you have created in the Replication Server.
Parameters
| Type | Name | Description |
|---|---|---|
| RoomData | roomData | The room to remove. |
| Action<RequestResponse<string>> | onRequestFinished | Callback that will be invoked when the request finished. |
[Obsolete("Use the RoomData overload instead.")]
public void RemoveRoom(ulong roomId, string secret, Action<RequestResponse<string>> onRequestFinished)
Remove an existing room that you have created in the Replication Server.
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | roomId | Room ID of the room you wish to remove. Can be found in RoomData.Id |
| string | secret | Secret is ignored for removing rooms from locally hosted Replication Servers |
| Action<RequestResponse<string>> | onRequestFinished | Callback that will be invoked when the request finished. |