SandboxedSdkViewEventListener


interface SandboxedSdkViewEventListener


A listener for events relating to the SandboxedSdkView UI presentation.

Summary

Public functions

Unit

Called when the UI session of the SandboxedSdkView is closed.

Unit

Called when the UI is committed to the display.

Unit

Called when an error occurs in the SandboxedSdkView's UI session.

Public functions

onUiClosed

Added in 1.0.0-alpha12
fun onUiClosed(): Unit

Called when the UI session of the SandboxedSdkView is closed.

onUiDisplayed

Added in 1.0.0-alpha12
fun onUiDisplayed(): Unit

Called when the UI is committed to the display. The UI might still not be visible to the user at this point due to the SandboxedSdkView's properties. This is the point where the SandboxedSdkView can be made visible to the user.

onUiError

Added in 1.0.0-alpha12
fun onUiError(error: Throwable): Unit

Called when an error occurs in the SandboxedSdkView's UI session. Use error.getMessage() to get the error message from the UI provider.