Integration Manager Service
This is the entry point to manage integration. You can grab an instance of this service through an active session.
Types
Functions
Link copied to clipboard
Adds a listener to observe changes.
Link copied to clipboard
Return the list of current configurations, sorted by kind. First one is preferred. See IntegrationManagerConfig.Kind
Link copied to clipboard
Return the preferred current configuration. See IntegrationManagerConfig.Kind
Link copied to clipboard
Returns true if integration is enabled, false otherwise.
Link copied to clipboard
abstract fun isNativeWidgetDomainAllowed(widgetType: String, domain: String): Boolean
Content copied to clipboard
Returns true if the widget domain is allowed, false otherwise.
Link copied to clipboard
Returns true if the widget is allowed, false otherwise.
Link copied to clipboard
abstract fun removeListener(listener: IntegrationManagerService.Listener)
Content copied to clipboard
Removes a previously added listener.
Link copied to clipboard
Offers to enable or disable the integration.
Link copied to clipboard
abstract suspend fun setNativeWidgetDomainAllowed( widgetType: String, domain: String, allowed: Boolean)
Content copied to clipboard
Offers to allow or disallow a native widget domain.
Link copied to clipboard
abstract suspend fun setWidgetAllowed(stateEventId: String, allowed: Boolean)
Content copied to clipboard
Offers to allow or disallow a widget.