CourierChannelManager class abstract

Inheritance
  • Object
  • PlatformInterface
  • CourierChannelManager
Implementers

Constructors

CourierChannelManager.new({required Object token})

Properties

apnsToken Future<String?>
no setter
archivedMessages Future<List<InboxMessage>>
no setter
client Future<CourierClient?>
no setter
fcmToken Future<String?>
no setter
feedMessages Future<List<InboxMessage>>
no setter
hashCode int
The hash code for this object.
no setterinherited
inboxPaginationLimit Future<int>
no setter
isUITestsActive bool
getter/setter pair
isUserSignedIn Future<bool>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tenantId Future<String?>
no setter
tokens Future<Map<String, String>>
no setter
userId Future<String?>
no setter

Methods

addAuthenticationListener(dynamic onUserStateChanged(String? userId)) Future<CourierAuthenticationListener>
addInboxListener({dynamic onLoading(bool isRefresh)?, dynamic onError(String error)?, dynamic onUnreadCountChanged(int unreadCount)?, dynamic onTotalCountChanged(InboxFeed feed, int totalCount)?, dynamic onMessagesChanged(List<InboxMessage> messages, bool canPaginate, InboxFeed feed)?, dynamic onPageAdded(List<InboxMessage> messages, bool canPaginate, bool isFirstPage, InboxFeed feed)?, dynamic onMessageEvent(InboxMessage message, int index, InboxFeed feed, InboxMessageEvent event)?}) Future<CourierInboxListener>
addPushListener({required dynamic onPushDelivered(dynamic message)?, dynamic onPushClicked(dynamic message)?}) Future<CourierPushListener>
archiveMessage({required String messageId}) Future
clickMessage({required String messageId}) Future
fetchNextInboxPage({required InboxFeed feed}) Future<InboxMessageSet?>
getToken({required String provider}) Future<String?>
getTokenForProvider({required CourierPushProvider provider}) Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openMessage({required String messageId}) Future
readAllInboxMessages() Future
readMessage({required String messageId}) Future
refreshInbox() Future
removeAllAuthenticationListeners() Future
removeAllInboxListeners() Future
removeAllPushListeners() → void
removeAuthenticationListener({required String listenerId}) Future
removeInboxListener({required String listenerId}) Future
removePushListener({required String listenerId}) → void
setInboxPaginationLimit({required int limit}) Future
setToken({required String token, required String provider}) Future
setTokenForProvider({required String token, required CourierPushProvider provider}) Future
signIn({required String userId, required String accessToken, String? clientKey, String? tenantId, bool? showLogs}) Future
signOut() Future
toString() String
A string representation of this object.
inherited
unreadMessage({required String messageId}) Future

Operators

operator ==(Object other) bool
The equality operator.
inherited