belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha1

PlaybackGlueHost.HostCallback

public static abstract class PlaybackGlueHost.HostCallback
extends Object

java.lang.Object
   ↳ androidx.leanback.media.PlaybackGlueHost.HostCallback


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

Summary

Public constructors

PlaybackGlueHost.HostCallback()

Public methods

void onHostDestroy()

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

void onHostPause()

Client triggered once the host(fragment) has paused.

void onHostResume()

Client triggered once the host(fragment) has resumed.

void onHostStart()

Client triggered once the host(fragment) has started.

void onHostStop()

Client triggered once the host(fragment) has stopped.

Inherited methods

Public constructors

PlaybackGlueHost.HostCallback

PlaybackGlueHost.HostCallback ()

Public methods

onHostDestroy

void onHostDestroy ()

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

onHostPause

void onHostPause ()

Client triggered once the host(fragment) has paused.

onHostResume

void onHostResume ()

Client triggered once the host(fragment) has resumed.

onHostStart

void onHostStart ()

Client triggered once the host(fragment) has started.

onHostStop

void onHostStop ()

Client triggered once the host(fragment) has stopped.