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 been destroyed.

open Unit

Client triggered once the host(fragment) has paused.

open Unit

Client triggered once the host(fragment) has resumed.

open Unit

Client triggered once the host(fragment) has started.

open Unit

Client triggered once the host(fragment) has stopped.

Public constructors

<init>

HostCallback()

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

Public methods

onHostDestroy

open fun onHostDestroy(): Unit

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

onHostPause

open fun onHostPause(): Unit

Client triggered once the host(fragment) has paused.

onHostResume

open fun onHostResume(): Unit

Client triggered once the host(fragment) has resumed.

onHostStart

open fun onHostStart(): Unit

Client triggered once the host(fragment) has started.

onHostStop

open fun onHostStop(): Unit

Client triggered once the host(fragment) has stopped.