FriendListQuery

@objc(SBDFriendListQuery)
public final class FriendListQuery : NSObject, Queryable, UserListQuery

A object to retrieve friend list

  • Boolean indicates there are more data to fetch

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public func loadNextPage(completionHandler: @escaping UserListHandler)

    Parameters

    completionHandler

    completion handler

  • Copies this object

    Declaration

    Swift

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

    Parameters

    zone

    optional NSZone

    Return Value

    FriendListQuery instance

Params Bridge

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

    Declaration

    Swift

    @objc
    public var limit: UInt { get }