Skip to main content

ATS Mobile SDK Events

Learn more about the events exposed by the ATS Mobile SDK that you can leverage in your own application.

setAtsManagerCallback

Add a delegate to catch events triggered by the SDK. Events listeners allow you to react to different event of interests and error events.

Kotlin:

LRAtsManager.setAtsManagerCallback(this)

Java:

LRAtsManager.INSTANCE.setAtsManagerCallback(this);

removeAtsManagerCallback

This event removes previously set delegates.

Kotlin:

LRAtsManager.removeAtsManagerCallback()

Java:

LRAtsManager.INSTANCE.removeAtsManagerCallback();

Events

ATS Mobile SDK events are defined with an LREvent enum.

Event Name

Description

Callback Result

LOADING

Fired when AtsManager starts the initialization process.

LREvent.LOADING

READY

Fired when AtsManager is fully initialized.

LREvent.READY

DISABLED

Fired when ATSManager is disabled.

LREvent.DISABLED

RESET

Fired after SDK reset is complete.

LREvent.RESET