HostCallback

abstract class HostCallback
kotlin.Any
   ↳ androidx.leanback.media.PlaybackGlueHost.HostCallback

Callbacks triggered by the host(e.g. fragment) hosting the video controls/surface.

Summary

Public constructors

Callbacks triggered by the host(e.g. fragment) hosting the video controls/surface.

Public methods
open Unit

Client triggered once the host(fragment) has resumed.

open Unit

Client triggered once the host(fragment) has stopped.

open Unit

Client triggered once the host(fragment) has started.

open Unit

Client triggered once the host(fragment) has paused.

open Unit

Client triggered once the host(fragment) has been destroyed.

Public constructors

<init>

HostCallback()

Callbacks triggered by the host(e.g. fragment) hosting the video controls/surface.

Public methods

onHostResume

open fun onHostResume(): Unit

Client triggered once the host(fragment) has resumed.

onHostStop

open fun onHostStop(): Unit

Client triggered once the host(fragment) has stopped.

onHostStart

open fun onHostStart(): Unit

Client triggered once the host(fragment) has started.

onHostPause

open fun onHostPause(): Unit

Client triggered once the host(fragment) has paused.

onHostDestroy

open fun onHostDestroy(): Unit

Client triggered once the host(fragment) has been destroyed.