miniapp / com.rakuten.tech.mobile.miniapp / MiniApp / create

create

abstract suspend fun create(info: MiniAppInfo, miniAppMessageBridge: MiniAppMessageBridge): MiniAppDisplay

Creates a mini app.

Parameters

info - metadata of a mini app. The mini app is downloaded, saved and provides a MiniAppDisplay when successful

miniAppMessageBridge - the interface for communicating between host app & mini app

Exceptions

MiniAppSdkException - when there is some issue during fetching, downloading or creating the view.abstract suspend fun ~~create~~(info: MiniAppInfo): MiniAppDisplay Deprecated: Please replace with create(MiniAppInfo, MiniAppMessageBridge)

Parameters

info - metadata of a mini app. The mini app is downloaded, saved and provides a MiniAppDisplay when successful

Exceptions

MiniAppSdkException - when there is some issue during fetching, downloading or creating the view.

Deprecated use {@link #create(MiniAppInfo, MiniAppMessageBridge)} instead. Creates a mini app.