Table of Contents

RemoveRoomAsync

Methods
public Task RemoveRoomAsync(RoomData roomData)

Remove an existing room that you have created in the coherence Cloud.

Parameters
Type Name Description
RoomData roomData

The room to remove.

Returns
Type Description
Task
public Task RemoveRoomAsync(RoomData roomData, CancellationToken cancellationToken)

Remove an existing room that you have created in the coherence Cloud.

Parameters
Type Name Description
RoomData roomData

The room to remove.

CancellationToken cancellationToken

Cancellation token to cancel the request.

Returns
Type Description
Task
[Obsolete("Use the RoomData overload instead.")]
public Task RemoveRoomAsync(ulong uniqueID, string secret)

Remove 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 remove. Can be found in RoomData.UniqueId

string secret

Token that will allow you to remove the room. Can be found in RoomData.Secret

Returns
Type Description
Task