UnlistRoomAsync
method in Coherence.Cloud.CloudRoomsService
Methods
public Task UnlistRoomAsync(RoomData roomData, CancellationToken cancellationToken = default)
Unlist an existing room that you have created in the coherence Cloud.
Parameters
| Type | Name | Description |
|---|---|---|
| RoomData | roomData | The room to unlist. |
| CancellationToken | cancellationToken | Cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task |
[Obsolete("Use the RoomData overload instead.")]
public Task UnlistRoomAsync(ulong uniqueID, string secret)
Unlist an existing room that you have created in the coherence Cloud.
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | uniqueID | Unique ID of the room you wish to unlist. Can be found in RoomData.UniqueId |
| string | secret | Token that will allow you to unlist the room. Can be found in RoomData.Secret |
Returns
| Type | Description |
|---|---|
| Task |