이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.
added in version 25.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackGlueHost.HostCallback

public static abstract class PlaybackGlueHost.HostCallback
extends Object

java.lang.Object
   ↳ android.support.v17.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

From class java.lang.Object

Public constructors

PlaybackGlueHost.HostCallback

added in version 25.1.0
PlaybackGlueHost.HostCallback ()

Public methods

onHostDestroy

added in version 25.4.0
void onHostDestroy ()

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

onHostPause

added in version 25.1.0
void onHostPause ()

Client triggered once the host(fragment) has paused.

onHostResume

added in version 25.1.0
void onHostResume ()

Client triggered once the host(fragment) has resumed.

onHostStart

added in version 25.1.0
void onHostStart ()

Client triggered once the host(fragment) has started.

onHostStop

added in version 25.1.0
void onHostStop ()

Client triggered once the host(fragment) has stopped.