SfmcPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • SfmcPlatform
Implementers

Constructors

SfmcPlatform()
Constructs a SfmcPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addTag(String tag) Future<void>
clearAttribute(String key) Future<void>
deleteMessage(String id) Future<void>
disableLogging() Future<void>
disablePush() Future<void>
enableLogging() Future<void>
enablePush() Future<void>
getAttributes() Future<Map<String, String>>
getContactKey() Future<String?>
getDeletedMessageCount() Future<int>
getDeletedMessages() Future<List<InboxMessage>>
getDeviceId() Future<String?>
getMessageCount() Future<int>
getMessages() Future<List<InboxMessage>>
getReadMessageCount() Future<int>
getReadMessages() Future<List<InboxMessage>>
getSystemToken() Future<String?>
getTags() Future<List<String>>
getUnreadMessageCount() Future<int>
getUnreadMessages() Future<List<InboxMessage>>
isAnalyticsEnabled() Future<bool>
isPiAnalyticsEnabled() Future<bool>
isPushEnabled() Future<bool?>
logSdkState() Future<void>
markAllMessagesDeleted() Future<void>
markAllMessagesRead() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshInbox(InboxRefreshListener callback) Future<bool>
registerInboxResponseListener(InboxResponseListener callback) Future<void>
removeTag(String tag) Future<void>
setAnalyticsEnabled(bool analyticsEnabled) Future<void>
setAttribute(String key, String value) Future<void>
setContactKey(String contactKey) Future<void>
setMessageRead(String id) Future<void>
setPiAnalyticsEnabled(bool analyticsEnabled) Future<void>
toString() String
A string representation of this object.
inherited
trackEvent(Map<String, dynamic> eventJson) Future<void>
unregisterInboxResponseListener(InboxResponseListener callback) Future<void>

Operators

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

Static Properties

instance SfmcPlatform
getter/setter pair