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

Activity

This function is deprecated. This library is no longer supported.

OnBackPressedDispatcher

This function is deprecated. This library is no longer supported.

Inherited properties

From androidx.lifecycle.LifecycleOwner
Lifecycle

This property is deprecated. This library is no longer supported.

Public functions

getActivity

Added in 1.0.0-alpha19
Deprecated in 1.0.0-alpha19
fun getActivity(): Activity

The Activity created for SDK.

getOnBackPressedDispatcher

Added in 1.0.0-alpha19
Deprecated in 1.0.0-alpha19
fun getOnBackPressedDispatcher(): OnBackPressedDispatcher

The OnBackPressedDispatcher for the created Activity.