handleUnityPlayerHolderVisibilityChanged
fun handleUnityPlayerHolderVisibilityChanged(unityPlayerHolder: UnityPlayerHolder, newSurfaceHolder: SurfaceHolder?): Boolean
Must be called when UnityPlayerHolder
changes its visibility state.
Return
Whether the Unity player has actually changed .
Parameters
unityPlayerHolder
UnityPlayerHolder
that has changed its state
newSurfaceHolder
Can be null.