miniapp / com.rakuten.tech.mobile.miniapp

Package com.rakuten.tech.mobile.miniapp

Types

MiniApp This represents the contract between the consuming application and the SDK by which operations in the mini app ecosystem are exposed. Should be accessed via MiniApp.instance.abstract class MiniApp
MiniAppDisplay This represents the contract by which the host app can interact with the display unit of the mini app. This contract complies to Android’s LifecycleObserver contract, and when made to observe the lifecycle, it automatically clears up the view state and any services registered with.interface MiniAppDisplay : LifecycleObserver
MiniAppInfo This represents a Mini App entity.data class MiniAppInfo : Parcelable
MiniAppSdkConfig This represents the configuration settings for the Mini App SDK.data class MiniAppSdkConfig
Version This represents a version entity of a Mini App.data class Version : Parcelable

Exceptions

MiniAppHasNoPublishedVersionException Exception which is thrown when the server returns no published versions for the provided mini app ID.class MiniAppHasNoPublishedVersionException : MiniAppSdkException
MiniAppNotFoundException Exception which is thrown when the provided mini app ID does not exist on the server.class MiniAppNotFoundException : MiniAppSdkException
MiniAppSdkException A custom exception class which treats the purpose of providing error information to the consumer app in an unified way.open class MiniAppSdkException : Exception