SampleQueue.UpstreamFormatChangedListener


interface SampleQueue.UpstreamFormatChangedListener


A listener for changes to the upstream format.

Summary

Public functions

Unit

Called on the loading thread when an upstream format change occurs.

Public functions

onUpstreamFormatChanged

fun onUpstreamFormatChanged(format: Format!): Unit

Called on the loading thread when an upstream format change occurs.

Parameters
format: Format!

The new upstream format.