CometChatCallsConstants class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
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
Constants
- aspectRatioContain → const String
-
The contain aspect ratio.
'contain'
- aspectRatioCover → const String
-
The cover aspect ratio.
'cover'
- aspectRatioDefault → const String
-
The default aspect ratio.
'default'
- avatarModeCircle → const String
-
The circle avatar mode.
'circle'
- avatarModeFullScreen → const String
-
The fullscreen avatar mode.
'fullscreen'
- avatarModeSquare → const String
-
The square avatar mode.
'square'
- callCategoryCall → const String
-
Call category
"call"
- callStatusCancelled → const String
-
Calling
The
CALL_STATUS_CANCELLED
constant is used to indicate that the call has been cancelled."cancelled"
- callStatusRejected → const String
-
The
CALL_STATUS_REJECTED
constant is used to indicate that the call has been rejected."rejected"
- codeCometChatCallsSDKInitError → const String
-
"COMETCHATCALLS_SDK_INIT_ERROR"
- codeError → const String
-
SuccessMessages
Errors
Code
These constants are used to represent the error codes and messages that can be returned by the CometChatCalls SDK.
Error Codes
"ERROR"
- codeSessionIdNull → const String
-
"SESSION_ID_NULL"
- codeUserAuthTokenNull → const String
-
"USER_AUTH_TOKEN_NULL"
- endedAt → const String
-
Timestamp when the call was ended
"endedAt"
- hasRecording → const String
-
Determines if the call has a recording
"hasRecording"
- initiatedAt → const String
-
Timestamp when the call was initiated
"initiatedAt"
- initiator → const String
-
Initiator of the call
"initiator"
- messageCodeUserAuthTokenBlankOrEmpty → const String
-
"User auth token is empty or blank"
- messageCodeUserAuthTokenNull → const String
-
"User auth token is null"
- messageCometChatCallsSDKInit → const String
-
Messages
"CometChatCalls SDK is not initialized, requested result is null"
- mid → const String
-
Message ID of the call
"mid"
- mode → const String
-
Mode of the call (audio or video)
"mode"
- modeDefault → const String
-
The default mode.
'DEFAULT'
- modeSingle → const String
-
The single mode.
'SINGLE'
- modeSpotlight → const String
-
The spotlight mode.
'SPOTLIGHT'
- participants → const String
-
List of participants in the call
"participants"
- positionBottomLeft → const String
-
The bottom-left position.
'bottom-left'
- positionBottomRight → const String
-
The bottom-right position.
'bottom-right'
- positionTopLeft → const String
-
The top-left position.
'top-left'
- positionTopRight → const String
-
The top-right position.
'top-right'
- receiver → const String
-
Receiver of the call
"receiver"
- receiverType → const String
-
Type of the receiver (user, group, etc.)
"receiverType"
- receiverTypeGroup → const String
-
Receiver type Group
"group"
- receiverTypeUser → const String
-
Receiver type User
"user"
- recordings → const String
-
List of recordings of the call
"recordings"
- sessionId → const String
-
Call Log Constants
Session ID of the call
"sessionId"
- status → const String
-
Status of the call
"status"
- totalAudioMinutes → const String
-
Total audio minutes of the call
"totalAudioMinutes"
- totalDuration → const String
-
Total duration of the call
"totalDuration"
- totalDurationInMinutes → const String
-
Total duration of the call in minutes
"totalDurationInMinutes"
- totalParticipants → const String
-
Total participants in the call
"totalParticipants"
- totalVideoMinutes → const String
-
Total video minutes of the call
"totalVideoMinutes"
- type → const String
-
Type of the call (incoming, outgoing, missed)
"type"