AntsomiPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AntsomiPlatform
Implementers

Constructors

AntsomiPlatform()
Constructs a AntsomiPlatform.

Properties

callback ↔ void Function(InboxItem)
latefinal
callbackHandleChangeRoute ↔ void Function(String)
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setDefaultAction ↔ void Function()?
getter/setter pair

Methods

appInboxInit({required String destinationId, required String audienceType}) Future
config({required String portalId, required String propsId, required String appGroupId, required String applicationId}) Future<bool?>
configureChannel() → void
getAllLabels() Future<List<Catalog>>
getContext() Future<String?>
getCustomerId() Future<String?>
getDeviceId() Future<String?>
getMediaJson({required CDPEvent event, String? storyId}) Future<MediaJson>
getMessage({List<String>? catalogId = const [], required int page}) Future<List<InboxItem>>
getMessageById({required String messageId}) Future<Map<String, String>>
getPlatformVersion() Future<String?>
getPortalId() Future<String?>
getPropsId() Future<String?>
getPushUid() Future<String?>
getUid() Future<String?>
getUnreadMessageCount() Future<int?>
handleTrackingUrl(Uri url) → void
modifyAction({required List<String> messageId, required int action}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onNewMessageReceived(void callback(InboxItem callbackValue)?) → void
requestNotificationPermission() Future<void>
resetCustomer() Future<void>
resetUid() Future<void>
setCustomerProperties({required String customerId, Map<String, String>? customerProperties}) Future
setHandleChangeRouteTemplate(void callback(String url)?) → void
setPageLimit({required int limit}) → void
setUid({required String uid}) Future<void>
toString() String
A string representation of this object.
inherited
track({required CDPEvent event}) → void
trackScreen({required String name, String title = "", String type = ""}) → void

Operators

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

Static Properties

instance AntsomiPlatform
The default instance of AntsomiPlatform to use.
getter/setter pair