UnityPlayerHolder

class UnityPlayerHolder(mUnityPlayerPauseResumeManager: UnityPlayerPauseResumeManager)

An object that holds a lock on Unity player. Unity player's main loop is only active when at least one UnityPlayerHolder is visible.

Constructors

Link copied to clipboard
constructor(mUnityPlayerPauseResumeManager: UnityPlayerPauseResumeManager)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun onVisibilityChanged(isVisible: Boolean, newSurfaceHolder: SurfaceHolder?): Boolean
Link copied to clipboard