PlaybackGlueHost.HostCallback


public abstract class PlaybackGlueHost.HostCallback


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

See also
setHostCallback

Summary

Public constructors

Public methods

void

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

void

Client triggered once the host(fragment) has paused.

void

Client triggered once the host(fragment) has resumed.

void

Client triggered once the host(fragment) has started.

void

Client triggered once the host(fragment) has stopped.

Public constructors

HostCallback

Added in 1.1.0
public HostCallback()

Public methods

onHostDestroy

Added in 1.1.0
public void onHostDestroy()

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

onHostPause

Added in 1.1.0
public void onHostPause()

Client triggered once the host(fragment) has paused.

onHostResume

Added in 1.1.0
public void onHostResume()

Client triggered once the host(fragment) has resumed.

onHostStart

Added in 1.1.0
public void onHostStart()

Client triggered once the host(fragment) has started.

onHostStop

Added in 1.1.0
public void onHostStop()

Client triggered once the host(fragment) has stopped.