TemplateRenderer

open class TemplateRenderer(    nuguClientProvider: TemplateRenderer.NuguClientProvider,     deviceTypeCode: String,     fragmentManager: FragmentManager? = null,     containerId: Int) : DisplayAggregatorInterface.Renderer

Constructors

Link copied to clipboard
fun TemplateRenderer(    nuguClientProvider: TemplateRenderer.NuguClientProvider,     deviceTypeCode: String,     fragmentManager: FragmentManager? = null,     containerId: Int)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
interface ExternalViewRenderer

The other Renderer that show any view associated with template. For example if you show media notification by play status independently, it needs to be inform to TemplateRenderer. Implement this interface and return templateId list being shown.

Link copied to clipboard
interface NuguClientProvider
Link copied to clipboard
interface TemplateLoadingListener

Functions

Link copied to clipboard
open override fun clear(templateId: String, force: Boolean)
Link copied to clipboard
open fun clearAll(): Boolean
Link copied to clipboard
open fun insertType(content: String, type: String): String
Link copied to clipboard
open fun onNewTemplate(newFragment: Fragment)
Link copied to clipboard
open override fun render(    templateId: String,     templateType: String,     templateContent: String,     header: Header,     displayType: DisplayAggregatorInterface.Type,     parentTemplateId: String?): Boolean
Link copied to clipboard
fun setFragmentManager(fragmentManager: FragmentManager?)
Link copied to clipboard
fun setServerUrl(url: String? = null)
Link copied to clipboard
fun setTemplateRemoveDelay(delay: Long)
Link copied to clipboard
open override fun update(templateId: String, templateContent: String)

Properties

Link copied to clipboard
var externalViewRenderer: TemplateRenderer.ExternalViewRenderer? = null
Link copied to clipboard
var templateHandlerFactory: TemplateHandler.TemplateHandlerFactory? = null
Link copied to clipboard