AdaptySDK
Loading...
Searching...
No Matches
AdaptySDK.AdaptyEventListener Interface Reference

Interface for listening to Adapty SDK events. More...

Public Member Functions

void OnLoadLatestProfile (AdaptyProfile profile)
 Called when the latest profile is loaded.
void OnInstallationDetailsSuccess (AdaptyInstallationDetails details)
 Called when installation details are successfully retrieved.
void OnInstallationDetailsFail (AdaptyError error)
 Called when installation details retrieval fails.

Detailed Description

Interface for listening to Adapty SDK events.

Implement this interface to receive notifications about profile updates and installation details. Use Adapty.SetEventListener(AdaptyEventListener) to register your listener.

Member Function Documentation

◆ OnInstallationDetailsFail()

void AdaptySDK.AdaptyEventListener.OnInstallationDetailsFail ( AdaptyError error)

Called when installation details retrieval fails.

Parameters
errorThe AdaptyError object describing the error.

◆ OnInstallationDetailsSuccess()

void AdaptySDK.AdaptyEventListener.OnInstallationDetailsSuccess ( AdaptyInstallationDetails details)

Called when installation details are successfully retrieved.

Parameters
detailsThe AdaptyInstallationDetails object containing installation information.

◆ OnLoadLatestProfile()

void AdaptySDK.AdaptyEventListener.OnLoadLatestProfile ( AdaptyProfile profile)

Called when the latest profile is loaded.

Parameters
profileThe updated AdaptyProfile object.

The documentation for this interface was generated from the following file: