SharedUiAdapterFactory


@ExperimentalFeatures.SharedUiPresentationApi
object SharedUiAdapterFactory


Provides an implementation of SharedUiAdapter created from a supplied Bundle which acts as a proxy between the host app and the Binder provided by the UI provider.

Summary

Public functions

SharedUiAdapter

This function is deprecated. This library is no longer supported.

Public functions

createFromCoreLibInfo

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
@ExperimentalFeatures.SharedUiPresentationApi
fun createFromCoreLibInfo(coreLibInfo: Bundle): SharedUiAdapter

Creates a SharedUiAdapter from a supplied coreLibInfo that acts as a proxy between the host app and the Binder provided by the UI provider.

Throws
IllegalArgumentException

if coreLibInfo does not contain a Binder corresponding to SharedUiAdapter