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

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

This function is deprecated. This library is no longer supported.

Public functions

open operator Boolean
equals(other: Any?)

This function is deprecated. This library is no longer supported.

open Int

This function is deprecated. This library is no longer supported.

open String

This function is deprecated. This library is no longer supported.

Public properties

String

This property is deprecated. This library is no longer supported.

SandboxedUiAdapter?

This property is deprecated. This library is no longer supported.

View

This property is deprecated. This library is no longer supported.

Public constructors

SharedUiAsset

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
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-alpha17
Deprecated in 1.0.0-alpha17
val assetIdString

sandboxedUiAdapter

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
val sandboxedUiAdapterSandboxedUiAdapter?

view

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
val viewView