MiniAppUIDelegate
public protocol MiniAppUIDelegate : AnyObject
Protocol to track Miniapp loading/Close status
-
miniApp(_:
Default implementationdidLaunchWith: ) Interface that is used to get controller and config
Default Implementation
Declaration
Swift
func miniApp(_ viewController: MiniAppViewController, didLaunchWith config: MiniAppSdkConfig?)
-
miniApp(_:
Default implementationshouldExecute: ) Interface that is used to get controller and navigation action
Default Implementation
Declaration
Swift
func miniApp(_ viewController: MiniAppViewController, shouldExecute action: MiniAppNavigationAction)
-
miniApp(_:
Default implementationdidLoadWith: ) Interface that is used to notify if Mini app failed to load
Default Implementation
Declaration
Swift
func miniApp(_ viewController: MiniAppViewController, didLoadWith error: MASDKError?)
-
Undocumented
Declaration
Swift
func onClose()