FetchRooms
method in Coherence.Cloud.IRoomsService
Methods
void FetchRooms(Action<RequestResponse<IReadOnlyList<RoomData>>> onRequestFinished, string[] tags = null)
Fetch available rooms.
Parameters
Type | Name | Description |
---|---|---|
Action<RequestResponse<IReadOnlyList<RoomData>>> | onRequestFinished | Callback that will be invoked when the request finished, it includes the fetched rooms. |
string[] | tags | Filter the results by a list of tags. |
void FetchRooms(Action<RequestResponse<IReadOnlyList<RoomData>>> onRequestFinished, string[] tags, CancellationToken cancellationToken)
Fetch available rooms .
Parameters
Type | Name | Description |
---|---|---|
Action<RequestResponse<IReadOnlyList<RoomData>>> | onRequestFinished | Callback that will be invoked when the request finished, it includes the fetched rooms. |
string[] | tags | Filter the results by a list of tags. |
CancellationToken | cancellationToken | Cancellation token to cancel the request. |