interface ActivityHolder : LifecycleOwner


A holder for the Activity created for SDK.

This is passed to SDKs through SdkSandboxActivityHandlerCompat.onActivityCreated to notify SDKs about the created Activity.

SDK can add LifecycleObservers into it to observe the Activity lifecycle state.

Summary

Public functions

getActivity

Added in 1.0.0-alpha13
fun getActivity(): Activity

The Activity created for SDK.

getOnBackPressedDispatcher

Added in 1.0.0-alpha13
fun getOnBackPressedDispatcher(): OnBackPressedDispatcher

The OnBackPressedDispatcher for the created Activity.