Nonstop Swift SDK
Branding
The Nonstop SDK is able to supply some branding information to the integrating app in order for the app to display information to the user.
An example of obtaining this information is available below:
Nonstop.sharedInstance.getMarketingInfo().subscribe { event in
switch event {
case .success (let marketingInfo):
// Use the marketing info
case .error (let error):
// An error occurred accessing the marketing info
}
}.disposed(by: disposables)
At present the marketingInfo variable contains the following properties:
howItWorksVideoUrl- link to an MP4 containing the current Nonstop Promo VideolearnMoreUrl- link to the Nonstop FAQs on the Freeform Help sitenonstopHomeUrl- link to the web version of Nonstop HomenonstopHomeUrlDisplay- a user friendly version of the above URL