UnbluMobileCoBrowsingModuleProvider
class UnbluMobileCoBrowsingModuleProvider
Entry point to use the mobile co-browsing functionality of Unblu to share the screen of the app.
This module has to be registered via UnbluClientConfiguration.register(module: ...).
To use the api of the UnbluMobileCoBrowsingModule in the application, use UnbluMobileCoBrowsingModuleProvider.create(...).
-
Creates and returns an instance of
UnbluMobileCoBrowsingModuleApi.Usage:
let module = UnbluMobileCoBrowsingModuleProvider.create()You can also pass a custom configuration:
let customConfig = UnbluMobileCoBrowsingModuleConfiguration() let module = UnbluMobileCoBrowsingModuleProvider.create(config: customConfig)
Declaration
Swift
static func create(config: UnbluMobileCoBrowsingModuleConfiguration = UnbluMobileCoBrowsingModuleConfiguration()) -> any UnbluMobileCoBrowsingModuleApiParameters
configAn optional configuration object of type
UnbluMobileCoBrowsingModuleConfiguration. By default, a new instance with default values will be used if none is provided.Return Value
An instance of
UnbluMobileCoBrowsingModuleApiwhich provides the public API to interact with the mobile co-browsing functionality.