BannedUserListQuery

@objc(SBDBannedUserListQuery)
public class BannedUserListQuery : NSObject, Queryable, RestrictedUserListQuery

The BannedUserListQuery class is a query class for getting the list of banned users in a specific channel.

This instance is created by createBannedUserListQuery of BaseChannel.

Since

3.0.120
  • Boolean indicates there are more data to fetch

    Declaration

    Swift

    @objc
    public internal(set) var hasNext: Bool { get }
  • Indicates the query is currently loading or not

    Declaration

    Swift

    @objc
    public internal(set) var isLoading: Bool { get }
  • Fetches next page

    Declaration

    Swift

    @objc
    public func loadNextPage(completionHandler: @escaping RestrictedUserListHandler)

    Parameters

    completionHandler

    completion handler

  • Copies this object

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    optional NSZone

    Return Value

    BannedUserListQuery instance

Params Bridge

  • Specifies the number of results to return per call. (Default: 20)

    Declaration

    Swift

    @objc
    public var limit: UInt { get }