adjust-icon

Remote Trigger Callback

The Adjust SDK can listen for remote triggers configured in Adjust and notify your app when a trigger is received. You can use this functionality to react to server-side configured activities and access the trigger metadata within your application.

Configure the remote trigger callback

To listen for remote triggers, you need to configure the OnRemoteTriggerListener and implement the remote trigger callback function.

Set the remote trigger listener

Assign your listener instance before initializing the Adjust SDK:

Implement the remote trigger callback

The SDK invokes the callback function whenever a configured remote trigger is received.

The callback provides an AdjustRemoteTrigger object containing information about the trigger, including:

  • label: The trigger label configured in Adjust.
  • payload: Additional payload data associated with the trigger.