SandboxedSdkViewEventListener


public interface SandboxedSdkViewEventListener


A listener for events relating to the SandboxedSdkView UI presentation.

Summary

Public methods

abstract void

Called when the UI session of the SandboxedSdkView is closed.

abstract void

Called when the UI is committed to the display.

abstract void

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

Public methods

onUiClosed

Added in 1.0.0-alpha12
abstract void onUiClosed()

Called when the UI session of the SandboxedSdkView is closed.

onUiDisplayed

Added in 1.0.0-alpha12
abstract void onUiDisplayed()

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
abstract void onUiError(@NonNull Throwable error)

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