@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

SharedUiAsset(
    view: View,
    assetId: String,
    sandboxedUiAdapter: SandboxedUiAdapter?
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public constructors

SharedUiAsset

Added in 1.0.0-alpha14
SharedUiAsset(
    view: View,
    assetId: String,
    sandboxedUiAdapter: SandboxedUiAdapter? = null
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

assetId

Added in 1.0.0-alpha14
val assetIdString

sandboxedUiAdapter

Added in 1.0.0-alpha14
val sandboxedUiAdapterSandboxedUiAdapter?

view

Added in 1.0.0-alpha14
val viewView