示例#1
0
 /// <summary>
 /// Deletes a room tab, by object.
 /// </summary>
 /// <param name="roomTab">The room tab object to be deleted.</param>
 /// <returns>Boolean indicating success of operation.</returns>
 public async Task <bool> DeleteRoomTabAsync(RoomTab roomTab)
 {
     return(await DeleteRoomTabAsync(roomTab.Id));
 }
示例#2
0
 /// <summary>
 /// Add a tab with a content url to a room that can be accessed in the room.
 /// </summary>
 /// <param name="roomTab">The Room Tab object to be created</param>
 /// <returns>The newly created Room Tab object.</returns>
 /// <returns></returns>
 public async Task <RoomTab> CreateRoomTabAsync(RoomTab roomTab)
 {
     return(await CreateRoomTabAsync(roomTab.RoomId, roomTab.ContentUrl, roomTab.DisplayName));
 }