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

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

public PlaybackGlueHost.HostCallback ()

Public methods

onHostDestroy

public void onHostDestroy ()

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

onHostPause

public void onHostPause ()

Client triggered once the host(fragment) has paused.

onHostResume

public void onHostResume ()

Client triggered once the host(fragment) has resumed.

onHostStart

public void onHostStart ()

Client triggered once the host(fragment) has started.

onHostStop

public void onHostStop ()

Client triggered once the host(fragment) has stopped.