SharedUiAsset
@ExperimentalFeatures.SharedUiPresentationApi
public final 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 |
|---|
SharedUiAsset( |
Public methods |
|
|---|---|
boolean |
|
final @NonNull String |
|
final SandboxedUiAdapter |
|
final @NonNull View |
getView() |
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
SharedUiAsset
Added in 1.0.0-alpha16
public SharedUiAsset(
@NonNull View view,
@NonNull String assetId,
SandboxedUiAdapter sandboxedUiAdapter
)
Public methods
getSandboxedUiAdapter
Added in 1.0.0-alpha16
public final SandboxedUiAdapter getSandboxedUiAdapter()