-
- All Implemented Interfaces:
-
ai.connectif.sdk.ConnectifInterface
public final class ConnectifInternal implements ConnectifInterface
-
-
Constructor Summary
Constructors Constructor Description ConnectifInternal(CoroutineDispatcher dispatcher)
-
Method Summary
-
-
Method Detail
-
initialize
Unit initialize(Context context, String apiKey, String email, ConnectifConfig connectifConfig)
-
addPushToken
Unit addPushToken(String token, Context context)
-
isConnectifPushNotification
Boolean isConnectifPushNotification(Map<String, String> data)
-
sendPageVisit
Unit sendPageVisit(String name, EventCallbacks callbacks)
-
sendSearch
Unit sendSearch(String searchText, EventCallbacks callbacks)
-
sendProductVisit
Unit sendProductVisit(Product product, EventCallbacks callbacks)
-
sendLogin
Unit sendLogin(String email, EventCallbacks callbacks)
-
sendRegister
Unit sendRegister(String email, RegisterContactInfo contactInfo, EventCallbacks callbacks)
-
sendContactInfo
Unit sendContactInfo(ContactInfo contactInfo, EventCallbacks callbacks)
-
subscribeToNewsletter
Unit subscribeToNewsletter(EventCallbacks callbacks)
-
sendCustomEventById
Unit sendCustomEventById(String eventId, CustomEvent customEvent, EventCallbacks callbacks)
-
sendCustomEventById
Unit sendCustomEventById(String eventId, Object payload, EventCallbacks callbacks)
-
sendCustomEventByAlias
Unit sendCustomEventByAlias(String eventAlias, CustomEvent customEvent, EventCallbacks callbacks)
-
sendCustomEventByAlias
Unit sendCustomEventByAlias(String eventAlias, Object payload, EventCallbacks callbacks)
-
sendCart
Unit sendCart(Cart cart, EventCallbacks callbacks)
-
sendPurchase
Unit sendPurchase(Purchase purchase, EventCallbacks callbacks)
-
-
-
-