Params
@objcMembers
@objc(SBCDirectCallLogListQueryParams)
public class Params : NSObject
Parameters for configuring DirectCallLogListQuery
let params = DirectCallLogListQuery.Params()
let query = SendBirdCall.createDirectCallLogListQuery(with: params)
query.next { callLogs, error in
//
}
Since
1.0.0-
Filter for specified role in the calls. For example,
.callee
will only return callee’s call logs.Since
1.0.0Declaration
Swift
public var myRole: UserRoleFilter
-
Filter for specific end results of the calls.
Note
If you specify more than one result, they are processed as OR condition and all call logs corresponding with the specified end results will be returned. For example,
[.noAnswer, .canceled]
, only the.noAnswer
or.canceled
call logs will be returned.Since
1.0.0
Declaration
Swift
public var endResults: [DirectCallEndResult]
-
Returns
endResults
as aNSArray
.Since
1.0.0Declaration
Swift
public var endResultsArray: NSArray { get }
-
Adds DirectCallEndResult to
endResults
.Since
1.0.0
Declaration
Swift
@objc(addEndResult:) public func add(endResult: DirectCallEndResult)
Parameters
endResult
DirectCallEndResult to be added to the filter.
-
Removes DirectCallEndResult from
endResults
.Since
1.0.0
Declaration
Swift
@objc(removeEndResult:) public func remove(endResult: DirectCallEndResult)
Parameters
endResult
DirectCallEndResult to be removed from the filter.
-
Specifies the number of call logs to return at once.
Note
The maximum value is 100 and the minimum is 1.
Since
1.0.0
Tag: limit
Declaration
Swift
public var limit: Int32 { get set }
-
Since
1.0.0Declaration
Swift
override public init()