NtiuspPush class

Constructors

NtiuspPush()

Properties

accessKey String
getter/setter pair
apiUrl String
getter/setter pair
authScheme String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
organizationId String
getter/setter pair
readApiUrl String
getter/setter pair
readXTenantId String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xForwardFor String
getter/setter pair
xTenantId String
getter/setter pair

Methods

checkDeviceInfoWithToken(String token) Future<void>
confirmPushRead(String payload) Future<void>
getImageUrl(NtiuspPayload payload) Future<String?>
getPayloadObject(String payloadStr) Future<NtiuspPayload>
getPushPopupEnabled() Future<bool>
initFCM(String apiKey, String appId, String messagingSenderId, String projectId, String storageBucket) Future<void>
initSDK(String appId, String appName, String _apiUrl, String _xTenantId, String _xForwardFor, String _readApiUrl, String _readXTenantId, String _readOrganizationId, String _readAccessKey, String _readAuthScheme) Future<void>
login(String customerId, String firstName, String lastName, String profileTypeId, String profileTypeValue, bool isSubscribedInfo, bool isSubscribedAd, bool isSubscribedNighttimeAd) Future<bool>
logNotificationHandler(LogNotificationHandler handler) → void
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
receivedNotificationHandler(ReceivedNotificationHandler handler) Future<void>
setLocalPushPopupEnable(bool enable) Future<void>
setSubscriptionInfo(bool isSubscribedInfo, bool isSubscribedAd, bool isSubscribedNighttimeAd) Future<void>
toString() String
A string representation of this object.
inherited
willPresentNotificationHandler(WillPresentNotificationHandler handler) → void

Operators

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

Static Properties

shared NtiuspPush
getter/setter pair

Static Methods

onNotificationTap(NotificationResponse notificationResponse) → void