com.blackledge.david.tivo.multitasker
Interface Brand

All Known Implementing Classes:
AudioArtBackgroundImage, ClockBrand, GenericImageBrand, LocalStreamedBackgroundImage, TivoTicker

public interface Brand

A multitasker interface for a static "Branding" item like tv channel logos or a clock or whatnot.

Version:
$Revision: 1.1 $

Method Summary
 com.tivo.hme.bananas.BView getUpdatedBrand(com.tivo.hme.bananas.BView brandParent)
          Gets called to create the brand and any time the multitasker thinks it should be updated.
 void init(MultiTaskerApplication app)
          initialize the plugin with the current application context.
 

Method Detail

init

void init(MultiTaskerApplication app)
initialize the plugin with the current application context. Called once before getUpdatedBrand(BView) is ever called.


getUpdatedBrand

com.tivo.hme.bananas.BView getUpdatedBrand(com.tivo.hme.bananas.BView brandParent)
Gets called to create the brand and any time the multitasker thinks it should be updated. Implementors are responsible for cleaning up your old View if creating a new one!

Parameters:
brandParent - the parent to use for the brand's view - constrains height/width/position
Returns:
View that contains the brand. Will be set visible or invisible as needed by multitasker. If null is returned, the Brand will be unchanged this "round."