Interface ListItemFilter

Filter function that can be used to filter out list items added through ListSelector.addItem.

This is intended to be used in conjunction with subclasses that populate themselves automatically via the player API, e.g. SubtitleSelectBox.

  • Takes a list item and decides whether it should pass or be discarded.

    Parameters

    • listItem: ListItem

      the item to apply the filter to

    Returns boolean

    true to let the item pass through the filter, false to discard the item