MiniAppUIParams
public struct MiniAppUIParams
Struct that is needed to launch Mini App using Paramerters
-
init(title:miniAppId: miniAppVersion: config: messageInterface: navigationInterface: queryParams: adsDisplayer: enableSharePreview: loadFromCacheIfFailed: ) Constructor for initializing MiniAppUIParams
Declaration
Swift
public init( title: String = "", miniAppId: String, miniAppVersion: String?, config: MiniAppSdkConfig? = nil, messageInterface: MiniAppMessageDelegate, navigationInterface: MiniAppNavigationDelegate? = nil, queryParams: String? = nil, adsDisplayer: MiniAppAdDisplayer? = nil, enableSharePreview: Bool = false, loadFromCacheIfFailed: Bool = false )Parameters
titleTitle of the mini app
miniAppIdMini app ID
miniAppVersionMini app version number
configConfig that helps to configure endpoints at run time
messageInterfaceMessage interface delegate to communicate with Host app
navigationInterfaceNavigation interface that keeps track of Mini app navigation stack
queryParamsQuery parameters that is used while launching a mini app
adsDisplayerAd mob displayer delegate
enableSharePreviewShare Preview optional bool
loadFromCacheIfFailedBool to retrieve mini app from cache (If it is downloaded already)
MiniAppUIParams Structure Reference