SharedUiAsset
@ExperimentalFeatures.SharedUiPresentationApi
class SharedUiAsset
Represents an asset comprising a native ad. Each asset is associated with a View and has an assigned assetId. For SandboxedSdkViews, allows to provide a SandboxedUiAdapter for SharedUiContainer to manage the opening of a SandboxedSdkView session. However, the session will be closed by the container before the shared UI session in any case.
No user-sensitive information should be added to the asset registered on SharedUiContainer as it will be sent to the UI provider.
Summary
Public constructors |
|---|
This function is deprecated. This library is no longer supported. |
Public properties |
|
|---|---|
String |
|
SandboxedUiAdapter? |
|
View |
Public constructors
SharedUiAsset
SharedUiAsset(
view: View,
assetId: String,
sandboxedUiAdapter: SandboxedUiAdapter? = null
)
Public functions
Public properties
sandboxedUiAdapter
val sandboxedUiAdapter: SandboxedUiAdapter?