DataProcessor

public interface DataProcessor<T>

Processor for filtering and configuring channel data before display.

Implement this interface (or extend BaseDataProcessor) to customize which channel types are shown and how they are filtered or aggregated in the channel list.

Register an implementation via setDataProcessor.

Functions

Link copied to clipboard
public abstract List<T> filtered(List<T> data)
Filters the raw channel data before it is displayed in the channel list.
Link copied to clipboard
public boolean isGathered(ChannelIdentifier identifier)
Returns whether the channel identified by the given identifier is displayed in aggregated mode.
public abstract boolean isGathered(ChannelType type)
Returns whether a channel type is displayed in aggregated (gathered) mode.
Link copied to clipboard
public abstract Array<ChannelType> supportedTypes()
Returns the channel types supported by this data processor.