Interface IRoomsService
public interface IRoomsService
Properties
CachedRooms
IReadOnlyList<RoomData> CachedRooms { get; }
Property Value
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
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
RemoveRoom(ulong, string, Action<RequestResponse<string>>)
void RemoveRoom(ulong uniqueID, string secret, Action<RequestResponse<string>> onRequestFinished)
Parameters
uniqueID
ulongsecret
stringonRequestFinished
Action<RequestResponse<string>>
RemoveRoomAsync(ulong, string)
Task RemoveRoomAsync(ulong uniqueID, string secret)