Interface MediaListEventListener

    • Method Detail

      • mediaListWillAddItem

        void mediaListWillAddItem​(MediaList mediaList,
                                  MediaRef item,
                                  int index)
        A new media item will be added to the list.
        Parameters:
        mediaList - list
        item - media instance that will be added
        index - index in the list at which the media instance will be added
      • mediaListItemAdded

        void mediaListItemAdded​(MediaList mediaList,
                                MediaRef item,
                                int index)
        A new media item was added to the list.
        Parameters:
        mediaList - list
        item - media instance that was added
        index - index in the list at which the media instance was added
      • mediaListWillDeleteItem

        void mediaListWillDeleteItem​(MediaList mediaList,
                                     MediaRef item,
                                     int index)
        A new media item will be deleted from the list.
        Parameters:
        mediaList - list
        item - media instance that will be deleted
        index - index in the list at which the media instance will be deleted
      • mediaListItemDeleted

        void mediaListItemDeleted​(MediaList mediaList,
                                  MediaRef item,
                                  int index)
        A new media item was deleted from the list.
        Parameters:
        mediaList - list
        item - media instance that was deleted
        index - index in the list at which the media instance was deleted
      • mediaListEndReached

        void mediaListEndReached​(MediaList mediaList)
        The end of the media list was reached.

        The corresponding native event may in fact never fire.

        Parameters:
        mediaList - list