MethodChannelAntsomi class
An implementation of AntsomiPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AntsomiPlatform
- MethodChannelAntsomi
Constructors
Properties
- callback ↔ void Function(InboxItem)
-
latefinalinherited
- callbackHandleChangeRoute ↔ void Function(String)
-
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setDefaultAction ↔ void Function()?
-
getter/setter pairinherited
Methods
-
appInboxInit(
{required String destinationId, required String audienceType}) → Future -
override
-
config(
{required String portalId, required String propsId, required String appGroupId, required String applicationId}) → Future< bool?> -
override
-
configureChannel(
) → void -
inherited
-
decodeObject(
Object? data) → Map< String, String> -
getAllLabels(
) → Future< List< Catalog> > -
override
-
getContext(
) → Future< String?> -
override
-
getCustomerId(
) → Future< String?> -
override
-
getDeviceId(
) → Future< String?> -
override
-
getMediaJson(
{required CDPEvent event, String? storyId}) → Future< MediaJson> -
override
-
getMessage(
{List< String> ? catalogId = const [], required int page}) → Future<List< InboxItem> > -
override
-
getMessageById(
{required String messageId}) → Future< Map< String, String> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getPortalId(
) → Future< String?> -
override
-
getPropsId(
) → Future< String?> -
override
-
getPushUid(
) → Future< String?> -
override
-
getUid(
) → Future< String?> -
override
-
getUnreadMessageCount(
) → Future< int?> -
override
-
handleDeepLink(
Uri url) → void -
override
-
handleTrackingUrl(
Uri url) → void -
override
-
modifyAction(
{required List< String> messageId, required int action}) → void -
override
-
newMessageReceived(
) → Future< Map< String, String> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onNewMessageReceived(
void callback(InboxItem callbackValue)?) → void -
override
-
requestNotificationPermission(
) → Future< void> -
override
-
resetCustomer(
) → Future< void> -
override
-
resetUid(
) → Future< void> -
override
-
setCustomerProperties(
{required String customerId, Map< String, String> ? customerProperties = const {}}) → Future -
override
-
setHandleChangeRouteTemplate(
void callback(String url)?) → void -
override
-
setPageLimit(
{required int limit}) → void -
override
-
setUid(
{required String uid}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
track(
{required CDPEvent event}) → void -
override
-
trackScreen(
{required String name, String title = "", String type = ""}) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited