Params

class Params

Parameters of DirectCallLogListQuery.

Since

0.6.0

Constructors

Params
Link copied to clipboard
fun Params()

Functions

setEndResults
Link copied to clipboard
fun setEndResults(endResults: List<DirectCallEndResult>): DirectCallLogListQuery.Params

Sets DirectCallEndResults. If it is set, the result will be filtered with given DirectCallEndResult. If multiple DirectCallEndResults are set, it will be processed by the OR operation.

setLimit
Link copied to clipboard
fun setLimit(limit: Int): DirectCallLogListQuery.Params

Sets limit of result which can be retrieved at once. If the limit is set to over 100, limit will be set to 100. And if the limit is set to negative value, limit will be set to 10.

setMyRole
Link copied to clipboard
fun setMyRole(myRole: DirectCallUserRole): DirectCallLogListQuery.Params

Sets my DirectCallUserRole. If it is set to DirectCallUserRole.CALLER or DirectCallUserRole.CALLEE, the result will be filtered with my role. If it is set to null, all DirectCallLogs will be retrieved.