The Android Developer Challenge is back! Submit your idea before December 2.

SurfaceHolderGlueHost

interface SurfaceHolderGlueHost
androidx.leanback.media.SurfaceHolderGlueHost

Optional interface to be implemented by any subclass of PlaybackGlueHost that contains a android.view.SurfaceView. This will allow subclass of PlaybackGlue to setup the surface holder callback during PlaybackGlue#setHost(PlaybackGlueHost).

Summary

Public methods

abstract Unit

Sets the SurfaceHolder.Callback on the the host.

Public methods

setSurfaceHolderCallback

abstract fun setSurfaceHolderCallback(callback: Callback!): Unit

Sets the SurfaceHolder.Callback on the the host.