PlaybackGlueHost.HostCallback


abstract class PlaybackGlueHost.HostCallback


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

See also
setHostCallback

Summary

Public constructors

Public functions

Unit

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

Unit

Client triggered once the host(fragment) has paused.

Unit

Client triggered once the host(fragment) has resumed.

Unit

Client triggered once the host(fragment) has started.

Unit

Client triggered once the host(fragment) has stopped.

Public constructors

HostCallback

Added in 1.1.0
HostCallback()

Public functions

onHostDestroy

Added in 1.1.0
fun onHostDestroy(): Unit

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

onHostPause

Added in 1.1.0
fun onHostPause(): Unit

Client triggered once the host(fragment) has paused.

onHostResume

Added in 1.1.0
fun onHostResume(): Unit

Client triggered once the host(fragment) has resumed.

onHostStart

Added in 1.1.0
fun onHostStart(): Unit

Client triggered once the host(fragment) has started.

onHostStop

Added in 1.1.0
fun onHostStop(): Unit

Client triggered once the host(fragment) has stopped.