MethodChannelFlyChatFlutter class
A class to handle the platform specific methods and events.
- Inheritance
-
- Object
- PlatformInterface
- FlyChatFlutterPlatform
- MethodChannelFlyChatFlutter
Constructors
Properties
- blockedThisUser → Stream
-
Stream that emits events when user is blocked.
no setteroverride
- blockedThisUserChannel → EventChannel
-
A event channel for blocked this user events.
final
- blockedThisUserStreamController → StreamController
-
A broadcast stream controller for blocked this user events.
final
- callEventsListener ↔ CallEventListeners?
-
A Event channel to communicate call related events with the native platform.
getter/setter pair
- callLinkEventsListener ↔ CallLinkEventListeners?
-
A Event channel to communicate call link related events with the native platform.
getter/setter pair
- connectionEventsListener ↔ ConnectionEventListeners?
-
A Event channel to communicate connection related events with the native platform.
getter/setter pair
- groupEventsListener ↔ GroupEventListeners?
-
A Event channel to communicate group related events with the native platform.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaStatusUpdatedChannel → EventChannel
-
A event channel for media status update events.
final
- mediaStatusUpdatedStreamController → StreamController
-
A broadcast stream controller for media status update events.
final
- messageEventsListener ↔ MessageEventListeners?
-
A Event channel to communicate chat related events with the native platform.
getter/setter pair
- messageOnEditedChannel → EventChannel
-
A event channel for message edited events.
final
- messageOnReceivedChannel → EventChannel
-
A event channel for message listening events.
final
- messageStatusUpdatedChanel → EventChannel
-
A event channel for message status update events.
final
- messageStatusUpdateStreamController → StreamController
-
A broadcast stream controller for message status update events.
final
- mirrorFlyCallMethodChannel → MethodChannel
-
A method channel to communicate call related methods with the native platform.
final
- mirrorFlyMethodChannel → MethodChannel
-
A method channel to communicate chat related methods with the native platform.
final
- myProfileUpdated → Stream
-
Stream that emits events when the current user profile is updated.
no setteroverride
- myProfileUpdatedChannel → EventChannel
-
A event channel for my profile updated events.
final
- myProfileUpdatedStreamController → StreamController
-
A broadcast stream controller for my profile updated events.
final
- onAdminBlockedOtherUser → Stream
-
Stream that emits events when the admin blocks another user.
no setteroverride
- onAdminBlockedOtherUserChannel → EventChannel
-
A event channel for on admin blocked other user events.
final
- onAdminBlockedOtherUserStreamController → StreamController
-
A broadcast stream controller for on admin blocked other user events.
final
- onAdminBlockedUser → Stream
-
Stream that emits events when the current user is blocked by admin.
no setteroverride
- onAdminBlockedUserChannel → EventChannel
-
A event channel for on admin blocked user events.
final
- onAdminBlockedUserStreamController → StreamController
-
A broadcast stream controller for on admin blocked user events.
final
- onAvailableFeaturesUpdated → Stream
-
Stream that emits events when the available features are updated.
no setteroverride
- onAvailableFeaturesUpdatedChannel → EventChannel
-
A event channel for available features updated events.
final
- onAvailableFeaturesUpdatedStreamController → StreamController
-
A broadcast stream controller for available features updated events.
final
- onCallAction → Stream
-
Stream that emits events when the call action is performed.
no setteroverride
- onCallActionChannel → EventChannel
-
A event channel for call Action events.
final
- onCallActionStreamController → StreamController
-
A broadcast stream controller for call Action events.
final
- onCallLogDeleted → Stream
-
Stream that emits events when the call log is deleted.
no setteroverride
- onCallLogDeletedChannel → EventChannel
-
A event channel for call log deleted events.
final
- onCallLogDeletedStreamController → StreamController
-
A broadcast stream controller for call log deleted events.
final
- onCallLogsUpdated → Stream
-
Stream that emits events when the call logs are updated.
no setteroverride
- onCallLogsUpdatedChannel → EventChannel
-
A event channel for call logs updated events.
final
- onCallLogsUpdatedStreamController → StreamController
-
A broadcast stream controller for call logs updated events.
final
- onCallStatusUpdated → Stream
-
Stream that emits events when the call status is updated.
no setteroverride
- onCallStatusUpdatedChannel → EventChannel
-
A event channel for call status updated events.
final
- onCallStatusUpdatedStreamController → StreamController
-
A broadcast stream controller for call status updated events.
final
- onChatTypingStatus → Stream
-
Stream that emits events when the user is typing in a single chat.
no setteroverride
- onChatTypingStatusChannel → EventChannel
-
A event channel for chat typing status events.
final
- onChatTypingStatusStreamController → StreamController
-
A broadcast stream controller for chat typing status events.
final
- onClearAllCallLog → Stream
-
Stream that emits events when the call log is cleared.
no setteroverride
- onClearAllCallLogChannel → EventChannel
-
A event channel for call logs cleared events.
final
- onClearAllCallLogStreamController → StreamController
-
A broadcast stream controller for call logs cleared events.
final
- onConnected → Stream
-
Stream that emits events when the server connection is connected.
no setteroverride
- onConnectedChannel → EventChannel
-
A event channel for connected events.
final
- onConnectedStreamController → StreamController
-
A broadcast stream controller for connected events.
final
- onConnectionFailed → Stream
-
Stream that emits events when the server connection is failed.
no setteroverride
- onConnectionFailedChannel → EventChannel
-
A event channel for connection failed events.
final
- onConnectionFailedStreamController → StreamController
-
A broadcast stream controller for connection failed events.
final
- onContactSyncComplete → Stream
-
Stream that emits events when the contact sync is completed.
no setteroverride
- onContactSyncCompleteChannel → EventChannel
-
A event channel for on contact sync complete events.
final
- onContactSyncCompleteStreamController → StreamController
-
A broadcast stream controller for on contact sync complete events.
final
- onDisconnected → Stream
-
Stream that emits events when the server connection is disconnected.
no setteroverride
- onDisconnectedChannel → EventChannel
-
A event channel for disconnected events.
final
- onDisconnectedStreamController → StreamController
-
A broadcast stream controller for disconnected events.
final
- onError → Stream
-
Stream that emits events when the call link subscribe error
no setterinherited
- onErrorChannel → EventChannel
-
A event channel for call link subscribe onError events.
final
- onErrorStreamController → StreamController
-
A event channel for call link subscribe onError events.
final
- onFetchingGroupMembersCompleted → Stream
-
Stream that emits events when members are fetched from a group.
no setteroverride
- onFetchingGroupMembersCompletedChannel → EventChannel
-
A event channel for fetching group members completed events.
final
- onFetchingGroupMembersCompletedStreamController → StreamController
-
A broadcast stream controller for fetching group members completed events.
final
- onGroupDeletedLocally → Stream
-
Stream that emits events when a group is deleted locally.
no setteroverride
- onGroupDeletedLocallyChannel → EventChannel
-
A event channel for group deleted locally events.
final
- onGroupDeletedLocallyStreamController → StreamController
-
A broadcast stream controller for group deleted locally events.
final
- onGroupNotificationMessage → Stream
-
Stream that emits events when a message is received in a group.
no setteroverride
- onGroupNotificationMessageChannel → EventChannel
-
A event channel for group notification message events.
final
- onGroupNotificationMessageStreamController → StreamController
-
A broadcast stream controller for group notification message events.
final
- onGroupProfileFetched → Stream
-
Stream that emits events when a group message is fetched.
no setteroverride
- onGroupProfileFetchedChannel → EventChannel
-
A event channel for group profile fetched events.
final
- onGroupProfileFetchedStreamController → StreamController
-
A broadcast stream controller for group profile fetched events.
final
- onGroupProfileUpdated → Stream
-
Stream that emits events when a group profile is updated.
no setteroverride
- onGroupProfileUpdatedChannel → EventChannel
-
A event channel for group profile updated events.
final
- onGroupProfileUpdatedStreamController → StreamController
-
A broadcast stream controller for group profile updated events.
final
- onGroupTypingStatus → Stream
-
Stream that emits events when the user is typing in a group chat.
no setteroverride
- onGroupTypingStatusChannel → EventChannel
-
A event channel for group typing status events.
final
- onGroupTypingStatusStreamController → StreamController
-
A broadcast stream controller for group typing status events.
final
- onLeftFromGroup → Stream
-
Stream that emits events when a user leaves a group.
no setteroverride
- onLeftFromGroupChannel → EventChannel
-
A event channel for left from group events.
final
- onLeftFromGroupStreamController → StreamController
-
A broadcast stream controller for left from group events.
final
- onLocalVideoTrackAdded → Stream
-
Stream that emits events when the video call is connected and the local video track is added.
no setteroverride
- onLocalVideoTrackAddedChannel → EventChannel
-
A event channel for local video track added events.
final
- onLocalVideoTrackAddedStreamController → StreamController
-
A broadcast stream controller for local video track added events.
final
- onLoggedOut → Stream
-
Stream that emits events when the current user is logged out of the SDK.
no setteroverride
- onLoggedOutChannel → EventChannel
-
A event channel for on logged out events.
final
- onLoggedOutStreamController → StreamController
-
A broadcast stream controller for on logged out events.
final
- onMediaStatusUpdated → Stream
-
Stream that emits events when a media status is updated.
no setteroverride
- onMemberMadeAsAdmin → Stream
-
Stream that emits events when a member is made an admin in a group.
no setteroverride
- onMemberMadeAsAdminChannel → EventChannel
-
A event channel for member made as admin events.
final
- onMemberMadeAsAdminStreamController → StreamController
-
A broadcast stream controller for member made as admin events.
final
- onMemberRemovedAsAdmin → Stream
-
Stream that emits events when a member is removed as an admin in a group.
no setteroverride
- onMemberRemovedAsAdminChannel → EventChannel
-
A event channel for member removed as admin events.
final
- onMemberRemovedAsAdminStreamController → StreamController
-
A broadcast stream controller for member removed as admin events.
final
- onMemberRemovedFromGroup → Stream
-
Stream that emits events when a member is removed from a group.
no setteroverride
- onMemberRemovedFromGroupChannel → EventChannel
-
A event channel for member removed from group events.
final
- onMemberRemovedFromGroupStreamController → StreamController
-
A broadcast stream controller for member removed from group events.
final
- onMessageEdited → Stream
-
Stream that emits events when a message is edited.
no setteroverride
- onMessageReceived → Stream
-
Stream that emits events when a message is received.
no setteroverride
- onMessageStatusUpdated → Stream
-
Stream that emits events when a message status is updated.
no setteroverride
- onMissedCall → Stream
-
Stream that emits events when the call is missed / not answered.
no setteroverride
- onMissedCallChannel → EventChannel
-
A event channel for missed call events.
final
- onMissedCallStreamController → StreamController
-
A broadcast stream controller for missed call events.
final
- onMuteStatusUpdated → Stream
-
Stream that emits events when the users in call are muted or un-muted.
no setteroverride
- onMuteStatusUpdatedChannel → EventChannel
-
A event channel for on mute status updated events.
final
- onMuteStatusUpdatedStreamController → StreamController
-
A broadcast stream controller for on mute status updated events.
final
- onNewGroupCreated → Stream
-
Stream that emits events when a new group is created.
no setteroverride
- onNewGroupCreatedChannel → EventChannel
-
A event channel for new group created events.
final
- onNewGroupCreatedStreamController → StreamController
-
A broadcast stream controller for new group created events.
final
- onNewMemberAddedToGroup → Stream
-
Stream that emits events when new members are added to a group.
no setteroverride
- onNewMemberAddedToGroupChannel → EventChannel
-
A event channel for new member added to group events.
final
- onNewMemberAddedToGroupStreamController → StreamController
-
A broadcast stream controller for new member added to group events.
final
- onRemoteVideoTrackAdded → Stream
-
Stream that emits events when the video call is connected and the remote video track is added.
no setteroverride
- onRemoteVideoTrackAddedChannel → EventChannel
-
A event channel for remote video track added events.
final
- onRemoteVideoTrackAddedStreamController → StreamController
-
A broadcast stream controller for remote video track added events.
final
- onSubscribeSuccess → Stream
-
Stream that emits events when the call link subscribed success.
no setterinherited
- onSubscribeSuccessChannel → EventChannel
-
A event channel for call link subscribe success events.
final
- onSubscribeSuccessStreamController → StreamController
-
A event channel for call link subscribe success events.
final
- onTrackAdded → Stream
-
Stream that emits events when the call is connected and the track (local and remote video) tracks is added.
no setteroverride
- onTrackAddedChannel → EventChannel
-
A event channel for track added events.
final
- onTrackAddedStreamController → StreamController
-
A broadcast stream controller for track added events.
final
- onUploadDownloadProgressChanged → Stream
-
Stream that emits events when a upload/ downlaod progress is changed.
no setteroverride
- onUserSpeaking → Stream
-
Stream that emits events when the user in call is speaking.
no setteroverride
- onUserSpeakingChannel → EventChannel
-
A event channel for on user speaking events.
final
- onUserSpeakingStreamController → StreamController
-
A broadcast stream controller for on user speaking events.
final
- onUserStoppedSpeaking → Stream
-
Stream that emits events when the user in call stops speaking.
no setteroverride
- onUserStoppedSpeakingChannel → EventChannel
-
A event channel for on user stopped speaking events.
final
- onUserStoppedSpeakingStreamController → StreamController
-
A broadcast stream controller for on user stopped speaking events.
final
- onUsersUpdated → Stream
-
Stream that emits events when the call link users are updated
no setterinherited
- onUsersUpdatedChannel → EventChannel
-
A event channel for call link users are update events.
final
- onUsersUpdatedStreamController → StreamController
-
A event channel for call link users are update events.
final
- profileEventsListener ↔ ProfileEventListeners?
-
A Event channel to communicate profile related events with the native platform.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setTypingStatus → Stream
-
Stream that emits events when the user is typing.
no setteroverride
- setTypingStatusChannel → EventChannel
-
A event channel for set typing status events.
final
- setTypingStatusStreamController → StreamController
-
A broadcast stream controller for set typing status events.
final
- showOrUpdateOrCancelNotification → Stream
-
Stream that emits events when notification is needed to be shown or updated or cancelled.
no setteroverride
- showOrUpdateOrCancelNotificationChannel → EventChannel
-
A event channel for show or update or cancel notification events.
final
-
showOrUpdateOrCancelNotificationStreamController
→ StreamController<
String> -
A broadcast stream controller for show or update or cancel notification events.
final
- unblockedThisUser → Stream
-
Stream that emits events when the user is unblocked.
no setteroverride
- unblockedThisUserChannel → EventChannel
-
A event channel for unblocked this user events.
final
- unblockedThisUserStreamController → StreamController
-
A broadcast stream controller for unblocked this user events.
final
- uploadDownloadProgressChangedChannel → EventChannel
-
A event channel for upload/download progress update events.
final
- uploadDownloadProgressChangedStreamController → StreamController
-
A broadcast stream controller for upload/download progress update events.
final
- userBlockedMe → Stream
-
Stream that emits events when the current user is blocked by another user.
no setteroverride
- userBlockedMeChannel → EventChannel
-
A event channel for user blocked me events.
final
- userBlockedMeStreamController → StreamController
-
A broadcast stream controller for user blocked me events.
final
- userCameOnline → Stream
-
Stream that emits events when the user came online.
no setteroverride
- userCameOnlineChannel → EventChannel
-
A event channel for user came online events.
final
- userCameOnlineStreamController → StreamController
-
A broadcast stream controller for user came online events.
final
- userDeletedHisProfile → Stream
-
Stream that emits events when the user deleted his profile.
no setteroverride
- userDeletedHisProfileChannel → EventChannel
-
A event channel for user deleted his profile events.
final
- userDeletedHisProfileStreamController → StreamController
-
A broadcast stream controller for user deleted his profile events.
final
- userProfileFetched → Stream
-
Stream that emits events when the user profile is updated.
no setteroverride
- userProfileFetchedChannel → EventChannel
-
A event channel for user profile fetched events.
final
- userProfileFetchedStreamController → StreamController
-
A broadcast stream controller for user profile fetched events.
final
- usersIBlockedListFetched → Stream
-
Stream that emits events when the user i blocked list is fetched.
no setteroverride
- usersIBlockedListFetchedChannel → EventChannel
-
A event channel for users I blocked list fetched events.
final
- usersIBlockedListFetchedStreamController → StreamController
-
A broadcast stream controller for users I blocked list fetched events.
final
- usersProfilesFetched → Stream
-
Stream that emits events when the user's profile is fetched.
no setteroverride
- usersProfilesFetchedChannel → EventChannel
-
A event channel for users profiles fetched events.
final
- usersProfilesFetchedStreamController → StreamController
-
A broadcast stream controller for users profiles fetched events.
final
- usersWhoBlockedMeListFetched → Stream
-
Stream that emits events when the user who blocked me list is fetched.
no setteroverride
- usersWhoBlockedMeListFetchedChannel → EventChannel
-
A event channel for users who blocked me list fetched events.
final
- usersWhoBlockedMeListFetchedStreamController → StreamController
-
A broadcast stream controller for users who blocked me list fetched events.
final
- userUnBlockedMe → Stream
-
Stream that emits events when the user unblocks current user.
no setteroverride
- userUnBlockedMeChannel → EventChannel
-
A event channel for user unblocked me events.
final
- userUnBlockedMeStreamController → StreamController
-
A broadcast stream controller for user unblocked me events.
final
- userUpdatedHisProfile → Stream
-
Stream that emits events when the user updated his profile.
no setteroverride
- userUpdatedHisProfileChannel → EventChannel
-
A event channel for user updated his profile events.
final
- userUpdatedHisProfileStreamController → StreamController
-
A broadcast stream controller for user updated his profile events.
final
- userWentOffline → Stream
-
Stream that emits events when the user went offline.
no setteroverride
- userWentOfflineChannel → EventChannel
-
A event channel for user went offline events.
final
- userWentOfflineStreamController → StreamController
-
A broadcast stream controller for user went offline events.
final
Methods
-
acceptVideoCallSwitchRequest(
) → Future< bool> -
This method is used to accept the video call switch request.
override
-
addContact(
String number, String name) → Future< bool?> -
This method is used to add the contact.
override
-
addStreamsAllToStreamController(
) → dynamic - Using addStreamsAllToStreamController to add all streams to stream controller benefit to use stream controller we can call multiple listeners to listen.
-
addUsersToGroup(
String jid, List< String> userList, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to add the members to the group.
override
-
appLaunchedFromMissedCall(
) → Future< bool?> -
This method is used to get whether the app is launched from missed call.
override
-
authToken(
) → Future< String?> -
This method is used to get the Authentication Token.
override
-
blockUser(
String userJID, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to block the user.
override
-
cancelMediaUploadOrDownload(
String messageId) → dynamic -
This method is used to cancel the media upload or download.
override
-
cancelVideoCallSwitch(
) → Future< bool> -
This method is used to cancel the video call switch.
override
-
clearAllConversation(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to clear all the conversation.
override
-
clearChat(
String jid, String chatType, bool clearExceptStarred, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to clear the chat of a user using JID.
override
-
contactSyncStateValue(
) → Future< bool> -
Queries the current contact sync state.
override
-
copyTextMessages(
List< String> messageIds) → dynamic -
This method is used to copy the text messages.
override
-
createGroup(
String groupName, List< String> userJidList, String imageFilePath, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to create the group.
override
-
createMeetLink(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to create the meet link.
override
-
createOfflineGroupInOnline(
String groupId) → Future< bool?> -
This method is used to get create the group in offline
override
-
createTopic(
{required String topicName, List< TopicMetaData> metaData = const [], dynamic callback(FlyResponse response)?}) → Future<void> -
This method is used to create the topic.
override
-
declineCall(
) → Future< bool?> -
This method is used to decline the call.
override
-
declineVideoCallSwitchRequest(
) → Future< bool> -
This method is used to decline the video call switch request.
override
-
deleteAccount(
String reason, String? feedback, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to delete the account.
override
-
deleteAllMessages(
) → dynamic -
This method is used to delete all the messages.
override
-
deleteBusyStatus(
String id, String status, bool isCurrentStatus) → Future< bool?> -
Deletes a busy status.
override
-
deleteCallLog(
List< String> jidlist, bool isClearAll, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to delete the call log from the list.
override
-
deleteGroup(
String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to delete the group.
override
-
deleteMessagesForEveryone(
String jid, String chatType, List< String> messageIds, bool? isMediaDelete, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to delete the messages for everyone.
override
-
deleteMessagesForMe(
String jid, String chatType, List< String> messageIds, bool? isMediaDelete, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to delete the messages locally for the user.
override
-
deleteOfflineGroup(
String groupJid) → dynamic -
This method is used to delete group in offline.
override
-
deleteProfileStatus(
String id, String status, bool isCurrentStatus) → Future< bool?> -
Deletes a profile status.
override
-
deleteRecentChat(
String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to delete the recent chat.
override
-
deleteRecentChats(
List< String> jidlist, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to delete the recent chats for the provided JIDs.
override
-
deleteUnreadMessageSeparatorOfAConversation(
String jid) → Future< bool?> -
This method is used to remove all unread message separators.
jid
: The JID of the conversation.override -
disconnectCall(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to disconnect the call.
override
-
disposePreview(
) → Future< void> -
This method is used to clear the resources observers.
override
-
doesFetchingMembersListFromServedRequired(
String groupJid) → Future< bool?> -
This method is used to get fetch the group members list from the server is required.
override
-
downloadMedia(
String mid) → dynamic -
This method is used to download the media using the message ID.
override
-
editMediaCaption(
{required EditMessageParams editMessageParams, required dynamic callback(FlyResponse response)}) → Future< void> -
This method is used to edit the media caption sent previously.
override
-
editTextMessage(
{required EditMessageParams editMessageParams, required dynamic callback(FlyResponse response)}) → Future< void> -
This method is used to edit the text message sent previously.
override
-
enableDisableArchivedSettings(
bool enable, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to enable/disable the archived settings.
override
-
enableDisableBusyStatus(
bool enable, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to enable or disable the busy status for the current user.
override
-
enableDisableHideLastSeen(
bool enable) → Future< bool?> -
This method is used to enable or disable the last seen time for the current user.
override
-
exportChatConversationToEmail(
String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to export the chat conversation to email.
override
-
forwardMessagesToMultipleUsers(
List< String> messageIds, List<String> userList, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to forward the multiple messages.
override
-
getAllAvailableAudioInput(
) → Future< String> -
This method is used to get all the available audio input.
override
-
getAllGroups(
[bool? server, dynamic callback(FlyResponse response)?]) → Future< void> -
This method is used to get All the groups.
override
-
getAppLaunchedDetails(
) → Future< MirrorflyNotificationAppLaunchDetails?> -
This method is used to get the app launch details.
override
-
getArchivedChatList(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the Archived chat list.
override
-
getArchivedChatsFromServer(
) → dynamic -
This method is used to get the Archived chat list from server.
override
-
getAvailableFeatures(
) → Future< String> -
This method is used to get available features.
override
-
getBusyStatusList(
) → Future< String?> -
Retrieves a list of all available busy statuses.
override
-
getCallDirection(
) → Future< String> -
This method is used to get the call direction.
override
-
getCallGroupJid(
) → Future< String> -
This method is used to get the call group JID.
override
-
getCallLink(
) → Future< String> -
This method is used to get the ongoing call link.
override
-
getCallLogsList(
int currentPage, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the call log list.
override
-
getCallType(
) → Future< String> -
This method is used to get the call type.
override
-
getCallUsersList(
) → Future< String> -
This method is used to get the call users list.
override
-
getCurrentAuthToken(
) → Future< String> -
This method is used to get the AuthToken.
override
-
getDefaultNotificationUri(
) → Future< String?> -
This method is used to get the default notification sound URI.
override
-
getDocsMessages(
String jid) → Future< String> -
This method is used to get the Document messages.
override
-
getFavouriteMessages(
) → Future< String> -
This method is used to get the favourite messages.
override
-
getGroupJid(
String groupId) → Future< String?> -
This method is used to get the group JID from the group ID.
override
-
getGroupMembersList(
String jid, bool? server, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the group members list.
override
-
getGroupMessageDeliveredRecipients(
String messageId, String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the message delivered users list in a group.
override
-
getGroupMessageDeliveredToList(
String messageId, String jid) → Future< String> -
This method is used to get the message delivered users list in a group.
override
-
getGroupMessageReadByList(
String messageId, String jid) → Future< String> -
This method is used to get the message read users list in a group.
override
-
getGroupMessageSeenRecipients(
String messageId, String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the message read users list in a group.
override
-
getGroupMessageStatusCount(
String messageid) → Future< int?> -
This method is used to get the group message status count.
override
-
getGroupProfile(
String groupJid, bool server, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the group profile.
override
-
getInvitedUsersList(
) → Future< List< String> > -
This method is used to get the invited users list.
override
-
getIsProfileBlockedByAdmin(
) → Future< bool?> -
This method is used to check if the user is blocked by the admin.
override
-
getJid(
String username) → Future< String> -
This method is used to get the JID of the user from the username.
override
-
getJidFromPhoneNumber(
String mobileNumber, String countryCode) → Future< String?> -
This method is used to get JID from the phone number.
override
-
getLastNUnreadMessages(
int messagesCount) → Future< String?> -
This method is used to get the unread message count.
override
-
getLinkMessages(
String jid) → Future< String> -
This method is used to get the Link messages.
override
-
getLocalCallLogs(
) → Future< String> -
This method is used to get the local call log list.
override
-
getMaxCallUsersCount(
) → Future< int?> -
This method is used to get the max call users count.
override
-
getMediaAutoDownload(
) → Future< bool?> -
This method is used to get the media auto download settings.
override
-
getMediaMessages(
String jid) → Future< String> -
This method is used to get the Media messages.
override
-
getMediaSetting(
int networkType, String type) → Future< bool?> -
This method is used to get the media settings.
override
-
getMeetUsername(
String jid) → Future< String> -
This method is used to get the Meet username.
override
-
getMembersCountOfGroup(
String groupJid) → Future< int?> -
This method is used to get the group members count.
override
-
getMessageOfId(
String mid) → Future< String> -
This method is used to get the message using Message ID.
override
-
getMessagesOfJid(
String jid) → Future< String> -
This method is used to get the message of a JID / user.
override
-
getMessageStatusOfASingleChatMessage(
String messageID) → Future< String> -
This method is used to get the message status of a single chat message.
override
-
getMessagesUsingIds(
List< String> messageIds) → Future<String> -
This method is used to get the messages using the message ID's.
override
-
getMetaData(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the metadata.
override
-
getMyBusyStatus(
) → Future< String> -
Retrieves the current busy status of the user.
override
-
getNonChatUsers(
) → Future< String> -
This method is used to get the non chat users.
override
-
getNotificationSound(
) → Future< bool?> -
This method is used to get the notification sound.
override
-
getProfileDetails(
String jid) → Future< String> -
This method is used to get the user profile details.
override
-
getProfileStatusList(
) → Future< String> -
This method is used to get the profile status list.
override
-
getRecalledMessagesOfAConversation(
String jid) → Future< String?> -
Retrieves all messages that have been recalled in a conversation.
override
-
getRecentChatList(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the recent chat list.
override
-
getRecentChatListHistory(
{required bool firstSet, int limit = 15, required dynamic callback(FlyResponse response)?}) → Future< void> -
This method is used to get the recent chat history.
override
-
getRecentChatListHistoryByTopic(
{String? topicId, required bool firstSet, int limit = 15, required dynamic callback(FlyResponse response)}) → Future< void> -
This method is used to get the recent chat list history by topic.
override
-
getRecentChatListIncludingArchived(
) → Future< String> -
This method is used to get the recent chat list including archived.
override
-
getRecentChatOf(
String jid) → Future< String> -
This method is used to get the recent chat message of a user using JID.
override
-
getRegisteredUserList(
{required bool server}) → Future< String> -
This method is used to get the registered user list.
override
-
getRegisteredUsers(
bool server, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the registered user list.
override
-
getTopics(
{required List< String> topicIds, dynamic callback(FlyResponse response)?}) → Future<void> -
This method is used to get the topic list.
override
-
getUnreadMessageCountExceptMutedChat(
) → Future< int?> -
This method is used to get the unread message count except muted chat.
override
-
getUnreadMessagesCount(
) → Future< int?> -
This method is used to get the unread message count.
override
-
getUnreadMissedCallCount(
) → Future< int?> -
This method is used to get unread missed call count.
override
-
getUnsentMessageOfAJid(
String jid) → Future< String?> -
This method is used to get the Unsent message of a JID.
override
-
getUserLastSeenTime(
String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get user's last seen time.
override
-
getUserList(
int page, String search, MetaDataUserList? metaDataUserList, dynamic callback(FlyResponse response)?, {int perPageResultSize = 20}) → Future< void> -
This method is used to get the user list.
override
-
getUserProfile(
String jid, dynamic callback(FlyResponse response)?, [bool fromserver = false, bool saveasfriend = false]) → Future< void> -
This method is used to get the user profile.
override
-
getUsersIBlocked(
bool? server, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to get the users blocked by current user.
override
-
getUsersWhoBlockedMe(
[bool server = false, dynamic callback(FlyResponse response)?]) → Future< void> -
Retrieves a list of users who have blocked the current user.
override
-
getValueFromManifestOrInfoPlist(
{String? androidManifestKey, String? iOSPlistKey}) → Future< String> -
This method is used to get the value from the manifest or info.plist based on the platform.
override
-
handleReceivedMessage(
Map notificationData, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to handle the FCM Push Notification Payload.
override
-
hasNextMessages(
) → Future< bool> -
This method is used to check if there is any next messages.
override
-
hasPreviousMessages(
) → Future< bool> -
This method is used to check if there is any previous messages.
override
-
init(
ChatBuilder builder) → dynamic -
Initializes the MirrorFly platform with the given
builder
configuration.override -
initializeMeet(
String callLink, String userName, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to initialize the meet.
override
-
initializeMessageList(
{required String userJid, String? messageId, String? chatId, double? messageTime, bool? exclude, int limit = 25, String? topicId, MetaDataMessageList? metaDataMessageList, bool ascendingOrder = true}) → Future< bool> -
This method is used to get the message list.
override
-
initializeSDK(
InitializeSDKBuilder builder, dynamic callback(FlyResponse response)) → Future< void> -
Initializes the SDK with the specified configuration and callback.
override
-
insertBusyStatus(
String busyStatus) → Future< bool?> -
This method is used to insert the busy status.
override
-
insertDefaultStatus(
String status) → Future< bool?> -
This method is used to insert the default status list.
override
-
insertNewProfileStatus(
String status) → Future< bool?> -
This method is used to insert new profile status.
override
-
inviteUsersToOngoingCall(
List< String> ? jidList, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to invite the users to the ongoing call.
override
-
isAdmin(
String userJid, String groupJID) → Future< bool?> -
This method is used to check if the user is admin in a group.
override
-
isArchivedSettingsEnabled(
) → Future< bool?> -
This method is used to check if archived settings are enabled or not.
override
-
isBusyStatusEnabled(
) → Future< bool> -
Retrieves the current user's busy status.
override
-
isCallConversionRequestAvailable(
) → Future< bool?> -
This method is used to check if the call conversion request is available.
override
-
isHideLastSeenEnabled(
) → Future< bool?> -
This method is used to check if the user last seen is enabled or not.
override
-
isMemberOfGroup(
String jid, String? userJid) → Future< bool?> -
This method is used to check the member is in a group.
override
-
isMuted(
String jid) → Future< bool?> -
This method is used to get the user is muted or not.
override
-
isOnGoingCall(
) → Future< bool?> -
This method is used to check if the call is ongoing.
override
-
isPrivateStorageEnabledOrNot(
) → Future< bool> -
Checks if private storage is enabled in the SDK settings.
override
-
isTrailLicence(
) → Future< bool?> -
This method is used to check if the license is trail or not.
override
-
isUserAudioMuted(
[String? userJid]) → Future< bool?> -
This method is used to check if the user audio is muted.
override
-
isUserUnArchived(
String jid) → Future< bool?> -
This method is used to check if the user is unarchived.
override
-
isUserVideoMuted(
[String? userJid]) → Future< bool?> -
This method is used to check if the user video is muted.
override
-
joinCall(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to join the call.
override
-
leaveFromGroup(
String? userJid, String groupJid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to leave the group.
override
-
loadMessages(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to load the messages.
override
-
loadNextMessages(
dynamic callback(FlyResponse response)) → Future< void> -
This method is used to load the next messages.
override
-
loadPreviousMessages(
dynamic callback(FlyResponse response)) → Future< void> -
This method is used to load the previous messages.
override
-
logoutOfChatSDK(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to logout the user from the SDK.
override
-
makeAdmin(
String groupjid, String userjid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to make the user as admin in a group.
override
-
makeGroupVideoCall(
String groupJid, List< String> ? jidList, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to make the group video call.
override
-
makeGroupVoiceCall(
String groupJid, List< String> ? jidList, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to make the group voice call.
override
-
makeVideoCall(
String userJid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to make the video call.
override
-
makeVoiceCall(
String userJid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to make the voice call.
override
-
markAllUnreadMissedCallsAsRead(
) → Future< bool?> -
This method is used to mark all the unread missed calls as read.
override
-
markAsRead(
String jid) → Future< bool?> -
This method is used to mark the conversation as read.
override
-
markAsReadDeleteUnreadSeparator(
String jid) → Future< bool?> -
This method is used to delete the unread message separator.
override
-
markConversationAsRead(
List< String> jidlist) → dynamic -
This method is used to mark the conversation as read.
override
-
markConversationAsUnread(
List< String> jidlist) → dynamic -
This method is used to mark the conversation as unread.
override
-
mediaEndPoint(
) → Future< String?> -
Retrieves the media endpoint URL.
override
-
muteAudio(
bool status, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to mute the audio.
override
-
muteVideo(
bool status, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to mute the video.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAudioFilePicker(
) → Future< String?> -
This method is used to open the audio file picker only for the android platform.
override
-
recentChatPinnedCount(
) → Future< int?> -
This method is used to get the recent chat pinned count.
override
-
refreshAndGetAuthToken(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to refresh and get the AuthToken.
override
-
registerUser(
String userIdentifier, {String fcmToken = FlyConstants.empty, bool isForceRegister = true, String userType = "", List< IdentifierMetaData> ? identifierMetaData, required dynamic callback(FlyResponse response)}) → Future<void> -
This method is used to register the user.
override
-
removeGroupProfileImage(
String jid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to remove the group profile image.
override
-
removeMemberFromGroup(
String groupjid, String userjid, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to remove the user from group.
override
-
removeProfileImage(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to remove the profile image.
override
-
reportChatOrUser(
String jid, String chatType, String? messageId) → Future -
This method is used to report the chat or user.
inherited
-
reportUserOrMessages(
String jid, String type, String? messageId, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to report the user or messages.
override
-
requestVideoCallSwitch(
) → Future< bool> -
This method is used to request the video call switch.
override
-
revokeContactSync(
dynamic callback(FlyResponse response)?) → Future< void> -
Revokes the current contact sync operation.
override
-
routeAudioTo(
{required String routeType}) → Future< bool?> -
This method is used to route the audio to different devices.
override
-
saveMediaSettings(
bool photos, bool videos, bool audio, bool documents, int networkType) → dynamic -
This method is used to save the media settings.
override
-
saveUnsentMessage(
String jid, String message) → dynamic -
This method is used to save the unsent message.
override
-
searchConversation(
String searchKey, [String? jidForSearch, bool globalSearch = true, dynamic callback(FlyResponse response)?]) → Future< void> -
This method is used to search the conversation using the keyword.
override
-
selectedAudioDevice(
) → Future< String?> -
This method is used to select the audio device.
override
-
sendAudioMessage(
String jid, String filePath, bool isRecorded, String duration, String replyMessageId, {String? audioFileUrl, String? topicId}) → Future< String> -
This method is used to send the audio message.
override
-
sendContactMessage(
List< String> contactList, String jid, String contactName, String replyMessageId, {String? topicId}) → Future<String> -
This method is used to send the contact message.
override
-
sendContactUsInfo(
String title, String description, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to send contact us information.
override
-
sendDocumentMessage(
String jid, String documentPath, String replyMessageId, {String? fileUrl, String? topicId}) → Future< String> -
This method is used to send the document message.
override
-
sendImageMessage(
String jid, String filePath, String? replyMessageID, {String? imageFileUrl, String? topicId}) → Future< String> -
This method is used to send the image message.
override
-
sendLocationMessage(
String jid, double latitude, double longitude, String replyMessageId, {String? topicId}) → Future< String> -
This method is used to send the location message.
override
-
sendMediaFileMessage(
{required FileMessage messageParams, required dynamic callback(FlyResponse response)}) → Future< void> -
This method is used to send the file message.
override
-
sendMessage(
{required MessageParams messageParams, required dynamic callback(FlyResponse response)}) → Future< void> -
This method is used to send the message with message params type.
override
-
sendTextMessage(
String message, String jid, String replyMessageId, {String? topicId}) → Future< String> -
This method is used to send the text message.
override
-
sendTypingGoneStatus(
String toJid, String chattype) → dynamic -
This method is used to remove the current user's typing status.
override
-
sendTypingStatus(
String toJid, String chattype) → dynamic -
This method is used to set the current user's typing status.
override
-
sendVideoMessage(
String jid, String filePath, String? replyMessageID, {String? videoFileUrl, num? videoDuration, String? thumbImageBase64, String? topicId}) → Future< String> -
This method is used to send the video message.
override
-
setCallEventListener(
CallEventListeners callEventsListener) → void -
This listener is set to listen the call events.
override
-
setCallLinkEventListener(
CallLinkEventListeners callLinkEventsListener) → void -
This listener is set to listen the call link events.
override
-
setChatArchived(
String jid, bool isArchived, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to set the chat is archived.
override
-
setConnectionEventListener(
ConnectionEventListeners connectionEventsListener) → void -
This listener is set to listen the connection events.
override
-
setDefaultNotificationSound(
) → Future -
This method is used to set the default notification sound.
override
-
setGroupEventsListener(
GroupEventListeners groupEventsListener) → void -
This listener is set to listen the group events.
override
-
setLastSeenVisibility(
bool enable, dynamic callback(FlyResponse response)?) → Future< void> -
Sets the visibility of the last seen time for the current user.
override
-
setMediaAutoDownload(
bool enable) → dynamic -
This method is used to set the media auto download settings.
override
-
setMediaEncryption(
bool encryption) → dynamic -
This method is used to set the media encryption.
override
-
setMessageEventListener(
MessageEventListeners messageEventsListener) → void -
This listener is set to listen the message events.
override
-
setMuteNotification(
bool enable) → dynamic -
This method is used to set mute notification.
override
-
setMyBusyStatus(
String busyStatus, dynamic callback(FlyResponse response)?) → Future< void> -
Retrieves the current user's profile status.
override
-
setMyProfileStatus(
String status, String statusId, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to set the user profile status.
override
-
setNotificationSound(
bool enable) → dynamic -
This method is used to set the notification sound.
override
-
setNotificationUri(
String uri) → dynamic -
This method is used to set the notification URI.
inherited
-
setNotificationVibration(
bool enable) → dynamic -
This method is used to set the notification vibration.
override
-
setOnGoingChatUser(
String jid) → dynamic -
This method is used to set the current user's chat page/ chat screen.
override
-
setProfileEventsListener(
ProfileEventListeners profileEventsListener) → void -
This listener is set to listen the profile events.
override
-
setRegionCode(
String regionCode) → Future -
This method is used to set the region code.
override
-
setTypingStatusListener(
) → dynamic -
This method is used to set typing status listener.
override
-
startVideoCapture(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to start the video capture in joined via link call.
override
-
switchCamera(
) → Future -
This method is used to switch the camera.
override
-
syncCallLogs(
) → Future< bool?> -
This method is used to sync the call logs.
override
-
syncContacts(
bool isfirsttime, dynamic callback(FlyResponse response)?) → Future< void> -
Synchronizes contacts with the server.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unblockUser(
String userJID, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to unblock the user.
override
-
unFavouriteAllFavouriteMessages(
dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to un-favourite all favourite messages.
override
-
updateArchiveUnArchiveChat(
String jid, bool isArchived) → Future< bool?> -
This method is used to update the Archive status of the chat.
override
-
updateChatMuteStatus(
String jid, bool muteStatus) → dynamic -
This method is used to update the chat mute status.
override
-
updateFavouriteStatus(
String messageID, String chatUserJID, bool isFavourite, String chatType, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to update the favourite status of a message.
override
-
updateFcmToken(
String firebasetoken, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to update the FCM Token to the MirrorFly server.
override
-
updateGroupName(
String jid, String name, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to update the group profile name.
override
-
updateGroupProfileImage(
String jid, String file, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to update the group profile Image.
override
-
updateMediaDownloadStatus(
String mediaMessageId, int progress, int downloadStatus, num dataTransferred) → dynamic -
This method is used to update the media download status.
override
-
updateMediaUploadStatus(
String mediaMessageId, int progress, int uploadStatus, num dataTransferred) → dynamic -
This method is used to update the media upload status.
override
-
updateMetaData(
List< IdentifierMetaData> ? identifierMetaData, dynamic callback(FlyResponse response)?) → Future<void> -
This method is used to update the metadata.
override
-
updateMyProfile(
String name, String? email, String? mobile, String? status, String? image, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to update the current user profile.
override
-
updateMyProfileImage(
String image, dynamic callback(FlyResponse response)?) → Future< void> -
This method is used to update the profile image.
override
-
updateRecentChatPinStatus(
String jid, bool pinStatus) → dynamic -
This method is used to update the recent chat pin status.
override
-
uploadMedia(
String messageid) → Future< bool?> -
This method is used to start uploading a media file.
override
-
verifyToken(
String userName, String token) → Future< String?> -
This method is used to verify the Token.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- enableDebugLog ↔ bool
-
A variable to store the enableDebugLog value, default value is false.
getter/setter pair