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

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

Public functions

createFromCoreLibInfo

Added in 1.0.0-alpha14
@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
kotlin.IllegalArgumentException

if coreLibInfo does not contain a Binder corresponding to SharedUiAdapter