UnityPlayerPauseResumeManager
Stores list of UnityPlayerHolder
and pauses/resumes the Unity player. Unity player's main loop is only active when at least one UnityPlayerHolder
is visible.
Properties
Functions
Link copied to clipboard
fun handleUnityPlayerHolderVisibilityChanged(unityPlayerHolder: UnityPlayerHolder, newSurfaceHolder: SurfaceHolder?): Boolean
Must be called when UnityPlayerHolder
changes its visibility state.
Link copied to clipboard
Link copied to clipboard
Must be called when wallpaper engine is destroyed to correctly handle its destruction.