Table of Contents

Interface IRoomsService

Namespace
Coherence.Cloud
Assembly
Coherence.Runtime.dll
public interface IRoomsService

Properties

CachedRooms

IReadOnlyList<RoomData> CachedRooms { get; }

Property Value

IReadOnlyList<RoomData>

Methods

CreateRoom(Action<RequestResponse<RoomData>>, RoomCreationOptions)

void CreateRoom(Action<RequestResponse<RoomData>> onRequestFinished, RoomCreationOptions roomCreationOptions)

Parameters

onRequestFinished Action<RequestResponse<RoomData>>
roomCreationOptions RoomCreationOptions

CreateRoomAsync(RoomCreationOptions)

Task<RoomData> CreateRoomAsync(RoomCreationOptions roomCreationOptions)

Parameters

roomCreationOptions RoomCreationOptions

Returns

Task<RoomData>

FetchRooms(Action<RequestResponse<IReadOnlyList<RoomData>>>, string[])

void FetchRooms(Action<RequestResponse<IReadOnlyList<RoomData>>> onRequestFinished, string[] tags = null)

Parameters

onRequestFinished Action<RequestResponse<IReadOnlyList<RoomData>>>
tags string[]

FetchRoomsAsync(string[])

Task<IReadOnlyList<RoomData>> FetchRoomsAsync(string[] tags = null)

Parameters

tags string[]

Returns

Task<IReadOnlyList<RoomData>>

RemoveRoom(ulong, string, Action<RequestResponse<string>>)

void RemoveRoom(ulong uniqueID, string secret, Action<RequestResponse<string>> onRequestFinished)

Parameters

uniqueID ulong
secret string
onRequestFinished Action<RequestResponse<string>>

RemoveRoomAsync(ulong, string)

Task RemoveRoomAsync(ulong uniqueID, string secret)

Parameters

uniqueID ulong
secret string

Returns

Task