MoECoreHelper
Helper class to access the core APIs for the MoEngage SDK.
Since
12.0.00
Author
Umang Chamaria
Functions
Add a listener to get a callback on application background for the account configured as default.
Add a listener to get a callback on application background for the given account.
Add a listener to get a callback on logout complete for the account configured as default. A strong reference of the listener is maintained, so do register it in your activity/fragment/service and remove it when not required.
Add a listener to get a callback on logout complete for the given instance. A strong reference of the listener is maintained, so do register it in your activity/fragment/service and remove it when not required.
Add a listener to get a callback when the SDK is initialised for the given app ID
Delete Current User Data From MoEngage Server for the account configured as default.
Delete Current User Data From MoEngage Server for the given instance
Returns the account identifier in the payload if present.
Returns the account identifier in the payload if present.
Fetches unique ID generated by the MoEngage SDK.
Returns the User registration state
Notify the SDK that the user has logged out of the application for the account configured as default
Notify the SDK that the user has logged out of the application for the given instance.
Passes the JWT token to the SDK for authentication.
Registers a listener to get a callback when there is an authentication error. Pass null to remove/reset the listener. Register the listener in the global scope to ensure the application receives the callback irrespective of where the user is in the application. For example in the onCreate() of the Application class.
Add a listener to get a callback the SDK tries to process an incoming intent.
Registers the User
Remove application background listener for the account configured as default.
Remove application background listener for the given account.
Remove logout listener for the account configured as default.
Remove logout listener for the given account.
Remove the listener set to get a callback when the SDK is initialised for the given app ID
Setup the MoEngage Sdk to work in Background even if user has not opened the application.
Immediately sync tracked data with MoEngage Server for the account configured as default.
Immediately sync tracked data with MoEngage Server for the given account.
Remove listener to get a callback the SDK tries to process an incoming intent.
UnRegisters the User