IDisplayServiceV3

public interface IDisplayServiceV3 implements IInterface

Functional implementation of Display Control. Part of the DisplayConnector architecture. In the clover-android-sdk repo, the com.clover.connector.sdk.v3.DisplayConnector uses a com.clover.connector.sdk.v3.DisplayV3Connector to connect to an aidl service located in the payments repo using the com.clover.connector.sdk.v3.DisplayIntent#ACTION_DISPLAY_SERVICE_V3 ("com.clover.intent.action.DISPLAY_SERVICE_V3") intent action. In the payments repo, the com.clover.payment.display.DisplayService is started by the ACTION_DISPLAY_SERVICE_V3 intent. The DisplayService creates a com.clover.payment.v3.DisplayBinderV3 during binding, which creates the com.clover.payment.v3.DisplayBinderImpl instance. The DisplayBinderImpl contains the functionality to control the display. It does this via broadcasts that are received by the com.clover.payment.display.PaymentDisplayService.OrderPaymentEventsReceiver which sends the broadcast intent to com.clover.payment.display.PaymentDisplayService#onStartCommand(android.content.Intent, int, int). The PaymentDisplayService interprets the intent, and displays a message on the display(s) it controls, or the intent may (en/dis)able display of orders created on the device. This is the service interface definition

Inheritors

Types

Link copied to clipboard
public class _Parcel
Link copied to clipboard
public class Default implements IDisplayServiceV3
Default implementation for IDisplayServiceV3.
Link copied to clipboard
public abstract class Stub extends Binder implements IDisplayServiceV3
Local-side IPC implementation stub class.

Functions

Link copied to clipboard
public abstract void addDisplayServiceListener(IDisplayServiceListener listener)
add an ICloverConnectorListener to receive callbacks
Link copied to clipboard
public abstract IBinder asBinder()
Link copied to clipboard
public abstract void dispose()
Destroy the connector.
Link copied to clipboard
public abstract void removeDisplayServiceListener(IDisplayServiceListener listener)
remove an ICloverConnectorListener from receiving callbacks
Link copied to clipboard
public abstract void showDisplayOrder(DisplayOrder order)
Display order information on the screen.
Link copied to clipboard
public abstract void showMessage(String message)
Show a text message on the device.
Link copied to clipboard
public abstract void showThankYouScreen()
Show the thank you display on the device.
Link copied to clipboard
public abstract void showWelcomeScreen()
Show the welcome display on the device.