subscribeToNoMatchingTriggerForEvent

Subscribes to "no matching trigger" events. The subscriber callback will be called when a open, custom event, or purchase event is sent, but there's not a corresponding in-app message that was triggered by it. The subscriber will be called with a NoMatchingTriggerEvent.

Subscriptions should be cleaned up manually by calling IBraze.unsubscribeToNoMatchingTriggerEvent.

All events are triggered from background threads and isolate any encountered exceptions. If you need to do work on the UI thread in response to an event, you will need to coordinate that in the IEventSubscriber's trigger method.

Parameters

subscriber

A callback that should be executed when no matching trigger is found.