Interface ListItemLabelTranslator

Translator function to translate labels of 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, optionally changes the label, and returns the new label.

    Parameters

    • listItem: ListItem

      the item to translate

    Returns string

    the translated or original label