androidx.privacysandbox.ui.client.view


Interfaces

SandboxedSdkViewEventListener

A listener for events relating to the SandboxedSdkView UI presentation.

Classes

Top-level functions summary

Unit
@Composable
SandboxedSdkUi(
    sandboxedUiAdapter: SandboxedUiAdapter,
    modifier: Modifier,
    providerUiOnTop: Boolean,
    sandboxedSdkViewEventListener: SandboxedSdkViewEventListener?
)

Composable that can be used to remotely render UI from a SandboxedSdk to host app window.

Top-level functions

@Composable
fun SandboxedSdkUi(
    sandboxedUiAdapter: SandboxedUiAdapter,
    modifier: Modifier = Modifier,
    providerUiOnTop: Boolean = true,
    sandboxedSdkViewEventListener: SandboxedSdkViewEventListener? = null
): Unit

Composable that can be used to remotely render UI from a SandboxedSdk to host app window.

Parameters
sandboxedUiAdapter: SandboxedUiAdapter

an adapter that provides content from a SandboxedSdk to be displayed as part of a host app's window.

modifier: Modifier = Modifier

the Modifier to be applied to this SandboxedSdkUi.

providerUiOnTop: Boolean = true

sets the Z-ordering of the SandboxedSdkUi surface, relative to its window.

sandboxedSdkViewEventListener: SandboxedSdkViewEventListener? = null

an event listener to the UI presentation.