IaBaseCardLink class abstract

Method and property definitions for the ia.de AppSDK CardLink service.

CardLink enables NFC-based prescription transfer functionality.

Inheritance

Constructors

IaBaseCardLink()

Properties

analyticsEventListener StreamController<String>
Notifier for analytics events.
no setter
callbacks IaBaseCallbacks?
Default module native callback definitions.
no setterinherited
consentEventListener StreamController<IaCardLinkConsentEvent>
Notifier for consent events (accepted or declined).
no setter
eventListener StreamController<IaCardLinkEvent>
Notifier for CardLink lifecycle and interaction events.
no setter
hashCode int
The hash code for this object.
no setterinherited
module IaBaseModule
Relevant IaBaseModule with functionality extended by this base class.
no setteroverride
prescriptionsRedeemedListener StreamController<String>
Notifier for prescriptions redeemed events.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionCreatedListener StreamController<IaCardLinkSession>
Notifier for CardLink session creation.
no setter

Methods

deleteAllCards() Future<String?>
Deletes all saved cards.
deleteAllUserRelatedData() Future<void>
Deletes all user-related data from the CardLink SDK.
deleteCard({required String userId, required String cardName}) Future<void>
Deletes a saved card for the specified user.
finish() Future<void>
Programmatically finishes the active CardLink session.
getEnvironment() Future<IaCardLinkEnvironment>
Returns the current CardLink SDK environment.
getLogFilePath() Future<String?>
Returns the path to the CardLink SDK log file.
getSavedCards(String userId) Future<String?>
Returns the list of saved cards for the specified user.
getVersion() Future<String?>
Returns the CardLink SDK version string.
launch({required String sdkApiKey, required IaCardLinkFlowType flowType, required String pharmacyId, required IaCardLinkConsentStatus consentStatus, required String phoneNumber, required String userId, required IaCardLinkFinishAction finishAction, String? canCode, String? cardName, int? primaryColor, int? buttonsColor, int? textLinkColor, int? bottomNavigationColor, IaCardLinkEnvironment? environment, bool? saveCardEnabled, String? appId}) Future<void>
Launches the CardLink experience.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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