LoyaltyConnector

public class LoyaltyConnector extends LoyaltyV3Connector implements ILoyaltyKit

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract void announceCustomerProvidedData(LoyaltyDataConfig config, String payload)
Used to announce data that was collected from a customer to interested parties.
public void announceCustomerProvidedData(LoyaltyDataConfig config, String payload)
Link copied to clipboard
public abstract void announceCustomerProvidedDataWithEventId(String uuid, LoyaltyDataConfig config, String payload)
Used to announce data that was collected from a customer to interested parties.
Link copied to clipboard
public boolean connect()
Link copied to clipboard
public void disconnect()
Link copied to clipboard
Link copied to clipboard
public synchronized S getService()
Link copied to clipboard
public synchronized boolean isConnected()
Link copied to clipboard
public boolean isInstalled()
Link copied to clipboard
public void onBindingDied(ComponentName name)
Link copied to clipboard
public void onNullBinding(ComponentName name)
Link copied to clipboard
public final void onServiceConnected(ComponentName componentName, IBinder iBinder)
Link copied to clipboard
public final void onServiceDisconnected(ComponentName componentName)
Link copied to clipboard
public boolean startLoyaltyService(String dynamicService, Map<String, String> dataExtras, String configuration)
Starts a dynamic loyalty service
Link copied to clipboard
public boolean stopLoyaltyService(String dynamicService)
Stops a dynamic loyalty service
public boolean stopLoyaltyService(String dynamicService, Map<String, String> dataExtras)
Link copied to clipboard
public abstract void updateServiceState(String dynamicService, String state)
Called by dynamic services to indicate an update in the service state.
public void updateServiceState(String dynamicService, String state)