Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-rc01

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

added in version 1.0.0
public PlaybackGlueHost.HostCallback ()

Public methods

onHostDestroy

added in version 1.0.0
public void onHostDestroy ()

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

onHostPause

added in version 1.0.0
public void onHostPause ()

Client triggered once the host(fragment) has paused.

onHostResume

added in version 1.0.0
public void onHostResume ()

Client triggered once the host(fragment) has resumed.

onHostStart

added in version 1.0.0
public void onHostStart ()

Client triggered once the host(fragment) has started.

onHostStop

added in version 1.0.0
public void onHostStop ()

Client triggered once the host(fragment) has stopped.