subscribeToFeedUpdates

Subscribes to news feed events. The subscriber callback will be called when the news feed is updated. The subscriber will be called with a com.braze.events.FeedUpdatedEvent.

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

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 the news feed is updated.