public constants, enums, and helper models
Enums, options, result models, and helper models used by the Stringee Flutter Plugin.
| Type | Description |
|---|---|
StringeeClientEvents | Events emitted by StringeeClient. |
StringeeCallEvents | Events emitted by StringeeCall. |
StringeeCall2Events | Events emitted by StringeeCall2. |
StringeeChatEvents | Events emitted by StringeeChat. |
StringeeRoomEvents | Events emitted by StringeeVideoRoom. |
StringeeChannelType | Chat channel type. |
StringeeChatRequestType | Chat request type. |
StringeeObjectEventType | Native object event type used by plugin event dispatch. |
StringeeCallType | Call direction and endpoint type. |
StringeeSignalingState | Call signaling state. |
StringeeMediaState | Call media state. |
VideoQuality | Video quality used for outgoing calls. |
ScalingType | Video view scaling mode. |
ObjectType | Chat object type. |
ChangeType | Chat object change type. |
UserRole | Conversation user role. |
MsgState | Message delivery state. |
MsgType | Message content type. |
MsgNotifyType | Notification message subtype. |
StringeeVideoDimensions | Video dimension for a video track. |
AudioType | Audio device type. |
MakeCallParams | Options used to make an outgoing call. Properties: from, to, isVideoCall, customData, videoQuality. |
StringeeConversationOption | Options used to create a new StringeeConversation. |
StringeeObjectChange | Change event for conversation and message objects. Properties: type, objectType, objects. |
StringeeServerAddress | Server address used by native Stringee SDK. Properties: host, port. |
StringeeVideoTrackOption | Options used to create or subscribe to a StringeeVideoTrack. Properties: audio, video, screen, videoDimension. |
StringeeVideoTrackInfo | Information for a remote or local video track. Properties: id, audioEnable, videoEnable, isScreenCapture, publisher. |
AudioDevice | Audio device model. Properties: audioType, name, uuid. |
Result | Typed result returned by selected plugin APIs. Properties: status, code, message, data. |
result | Map result returned by most async APIs. Common keys: status, code, message, body. |
StringeeClientEvents |
|---|
| Events emitted by StringeeClient. |
didConnect, didDisconnect, didFailWithError, requestAccessToken, didReceiveCustomMessage, incomingCall, incomingCall2, didReceiveChatRequest, didReceiveTransferChatRequest, timeoutAnswerChat, timeoutInQueue, conversationEnded, userBeginTyping, userEndTyping |
StringeeCallEvents |
|---|
| Events emitted by StringeeCall. |
didChangeSignalingState, didChangeMediaState, didReceiveCallInfo, didHandleOnAnotherDevice, didReceiveLocalStream, didReceiveRemoteStream |
StringeeCall2Events |
|---|
| Events emitted by StringeeCall2. |
didChangeSignalingState, didChangeMediaState, didReceiveCallInfo, didHandleOnAnotherDevice, didReceiveLocalStream, didReceiveRemoteStream, didAddVideoTrack, didRemoveVideoTrack |
StringeeChatEvents |
|---|
| Events emitted by StringeeChat. |
didReceiveObjectChange |
StringeeRoomEvents |
|---|
| Events emitted by StringeeVideoRoom. |
didJoinRoom, didLeaveRoom, didAddVideoTrack, didRemoveVideoTrack, didReceiveRoomMessage, trackReadyToPlay |
StringeeChannelType |
|---|
| Chat channel type. |
normal, livechat, facebook, zalo |
StringeeChatRequestType |
|---|
| Chat request type. |
normal, transfer |
StringeeObjectEventType |
|---|
| Native object event type used by plugin event dispatch. |
client, call, call2, chat, room |
StringeeCallType |
|---|
| Call direction and endpoint type. |
appToAppOutgoing, appToAppIncoming, appToPhone, phoneToApp |
StringeeSignalingState |
|---|
| Call signaling state. |
calling, ringing, answered, busy, ended |
StringeeMediaState |
|---|
| Call media state. |
connected, disconnected |
VideoQuality |
|---|
| Video quality used for outgoing calls. |
normal, hd, fullHd |
ScalingType |
|---|
| Video view scaling mode. |
fit, fill |
ObjectType |
|---|
| Chat object type. |
conversation, message |
ChangeType |
|---|
| Chat object change type. |
insert, update, delete |
UserRole |
|---|
| Conversation user role. |
admin, member |
MsgState |
|---|
| Message delivery state. |
initialize, sending, sent, delivered, read |
MsgType |
|---|
| Message content type. |
text, photo, video, audio, file, link, createConversation, renameConversation, location, contact, sticker, notification |
MsgNotifyType |
|---|
| Notification message subtype. |
addParticipants, removeParticipants, changeGroupName |
StringeeVideoDimensions |
|---|
| Video dimension for a video track. |
dimesion_1080, dimesion_720, dimesion_480, dimesion_288 |
AudioType |
|---|
| Audio device type. |
speakerPhone, wiredHeadset, earpiece, bluetooth, other, none |
MakeCallParams(String from, String to, {bool? isVideoCall, Map |
|---|
| Options used to make an outgoing call. Properties: from, to, isVideoCall, customData, videoQuality. |
StringeeConversationOption({required bool isGroup, required bool isDistinct, String? name, String? oaId, String? customData, String? creatorId}) |
|---|
| Options used to create a new StringeeConversation. |
StringeeObjectChange(ChangeType type, ObjectType objectType, List |
|---|
| Change event for conversation and message objects. Properties: type, objectType, objects. |
StringeeServerAddress(String host, int port) |
|---|
| Server address used by native Stringee SDK. Properties: host, port. |
StringeeVideoTrackOption({required bool audio, required bool video, required bool screen, StringeeVideoDimensions? videoDimension}) |
|---|
| Options used to create or subscribe to a StringeeVideoTrack. Properties: audio, video, screen, videoDimension. |
StringeeVideoTrackInfo(Map |
|---|
| Information for a remote or local video track. Properties: id, audioEnable, videoEnable, isScreenCapture, publisher. |
AudioDevice({required AudioType? audioType, String? uuid, String? name}) |
|---|
| Audio device model. Properties: audioType, name, uuid. |
Result({required bool status, required int code, required String message, dynamic data}) |
|---|
| Typed result returned by selected plugin APIs. Properties: status, code, message, data. |
Map |
|---|
| Map result returned by most async APIs. Common keys: status, code, message, body. |