CapturingRenderersFactory.TextRendererFactory


interface CapturingRenderersFactory.TextRendererFactory


A factory for Renderer instances that handle TRACK_TYPE_TEXT tracks.

Summary

Public functions

Renderer!
create(textOutput: TextOutput!, outputLooper: Looper!)

Creates a new Renderer instance for a TRACK_TYPE_TEXT track.

Public functions

create

fun create(textOutput: TextOutput!, outputLooper: Looper!): Renderer!

Creates a new Renderer instance for a TRACK_TYPE_TEXT track.

Parameters
textOutput: TextOutput!

A TextOutput to handle the parsed subtitles.

outputLooper: Looper!

The looper used to invoke textOutput.