RoomListQuery

@objcMembers
@objc(SBCRoomListQuery)
public class RoomListQuery : NSObject

A class that is used to query Rooms.

Since

1.7.0
  • A class that provides configuration for RoomListQuery

    Since

    1.7.0
    See more

    Declaration

    Swift

    @objcMembers
    @objc(SBCRoomListQueryParams)
    public class Params : NSObject
  • Determines whether the query is loading.

    Since

    1.7.0

    Declaration

    Swift

    public var isLoading: Bool
  • Indicates whether there are more rooms to be queried.

    Since

    1.7.0

    Declaration

    Swift

    public var hasNext: Bool
  • Retrieves the list of rooms after the last result set.

    Since

    1.7.0

    Declaration

    Swift

    public func next(completionHandler: @escaping (([Room]?, SBCError?) -> Void))

    Parameters

    completionHandler

    A callback function that receives information about a list of rooms or an error from Sendbird server.