SandboxedSdkUiKt

Added in 1.0.0-alpha13

public final class SandboxedSdkUiKt


Summary

Public methods

static final void
@Composable
SandboxedSdkUi(
    @NonNull SandboxedUiAdapter sandboxedUiAdapter,
    @NonNull Modifier modifier,
    boolean providerUiOnTop,
    SandboxedSdkViewEventListener sandboxedSdkViewEventListener
)

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

Public methods

@Composable
public static final void SandboxedSdkUi(
    @NonNull SandboxedUiAdapter sandboxedUiAdapter,
    @NonNull Modifier modifier,
    boolean providerUiOnTop,
    SandboxedSdkViewEventListener sandboxedSdkViewEventListener
)

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

Parameters
@NonNull SandboxedUiAdapter sandboxedUiAdapter

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

@NonNull Modifier modifier

the Modifier to be applied to this SandboxedSdkUi.

boolean providerUiOnTop

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

SandboxedSdkViewEventListener sandboxedSdkViewEventListener

an event listener to the UI presentation.