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 |
|---|
This method is deprecated. This library is no longer supported. |
Public methods |
|
|---|---|
boolean |
This method is deprecated. This library is no longer supported. |
final @NonNull String |
This method is deprecated. This library is no longer supported. |
final SandboxedUiAdapter |
This method is deprecated. This library is no longer supported. |
final @NonNull View |
This method is deprecated. This library is no longer supported. |
int |
This method is deprecated. This library is no longer supported. |
@NonNull String |
This method is deprecated. This library is no longer supported. |
Public constructors
SharedUiAsset
publicSharedUiAsset(
@NonNull View view,
@NonNull String assetId,
SandboxedUiAdapter sandboxedUiAdapter
)
Public methods
getAssetId
public final @NonNull StringgetAssetId()
getSandboxedUiAdapter
public final SandboxedUiAdaptergetSandboxedUiAdapter()