You need to listen to the searcher
result update, extract the userData
which contains the banner information, and then use that information to update your UI.
Swift
searcher.onResults.subscribe(with: self) { (_, results) in let bannerDict = searchResults.userData?.first?.object() as? [String: String] let msg = bannerDict?["promo_content"] // display msg in a banner if it is available }