CallLogRequest class
CallLogRequest
is a class that encapsulates a request for call logs.
It includes parameters for filtering and pagination of the call logs.
Properties
- authToken ↔ String?
-
The authentication token.
getter/setter pair
- callCategory ↔ String?
-
The category of the call(s). It can be 'direct' or 'group'.
getter/setter pair
- callDirection ↔ String?
-
The direction of the call(s). It can be 'inbound' or 'outbound'.
getter/setter pair
- callStatus ↔ String?
-
The status of the call(s). It can be 'initiated', 'ongoing', 'ended', etc.
getter/setter pair
- callType ↔ String?
-
The type of the call(s). It can be 'audio' or 'video'.
getter/setter pair
- currentPage ↔ int
-
getter/setter pair
- defaultLimit ↔ int
-
getter/setter pair
- guid ↔ String?
-
The unique ID of the group involved in the call(s).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRecording ↔ bool
-
Indicates if the call(s) has a recording.
getter/setter pair
- limit ↔ int
-
getter/setter pair
- maxLimit ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalPages ↔ int
-
Pagination parameters.
getter/setter pair
- uid ↔ String?
-
The unique ID of the user involved in the call(s).
getter/setter pair
Methods
-
fetchNext(
{required dynamic onSuccess(List< CallLog> callLogs), required dynamic onError(CometChatCallsException excep)}) → Future<List< CallLog> > - Fetches the next batch of call logs.
-
fetchPrevious(
{required dynamic onSuccess(List< CallLog> callLogs), required dynamic onError(CometChatCallsException excep)}) → Future<List< CallLog> > - Fetches the previous batch of call logs.
-
getCallLogList(
dynamic onSuccess(List< CallLog> callLogs), dynamic onError(CometChatCallsException excep), String response) → dynamic -
Processes the response from a
getCallLogList
request. -
getParams(
bool isNext) → CallLogFilterParams -
Returns the parameters required for the
getCallLogList
function. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited