Interface PlaylistViewModel


  • public interface PlaylistViewModel
    • Method Detail

      • getPlaylist

        androidx.lifecycle.LiveData<java.util.List<PlaylistItem>> getPlaylist()
      • getAutoplayTimer

        java.lang.Integer getAutoplayTimer()
      • getCurrentAutoplayTimerValue

        java.lang.Integer getCurrentAutoplayTimerValue()
      • getNextUpCountdown

        androidx.lifecycle.LiveData<java.lang.String> getNextUpCountdown()
      • getNextUpTitle

        androidx.lifecycle.LiveData<java.lang.String> getNextUpTitle()
      • onPageChanged

        void onPageChanged​(int pageNumber,
                           java.util.List<PlaylistItem> visibleItems,
                           int nextUpPageNumber)
      • startAutoplayTextUpdate

        void startAutoplayTextUpdate()
      • cancelAutoplayTextUpdate

        void cancelAutoplayTextUpdate()
      • isUiLayerVisible

        androidx.lifecycle.LiveData<java.lang.Boolean> isUiLayerVisible()
      • playPlaylistItem

        void playPlaylistItem​(int index)
      • playRelatedPlaylistItem

        void playRelatedPlaylistItem​(int index)
      • replayLastItem

        void replayLastItem()
      • isRelatedMode

        boolean isRelatedMode()
      • getNextUpDuration

        androidx.lifecycle.LiveData<java.lang.String> getNextUpDuration()
      • getNextUpPosterImage

        androidx.lifecycle.LiveData<java.lang.String> getNextUpPosterImage()
      • isJustWatchedVisible

        androidx.lifecycle.LiveData<java.lang.Boolean> isJustWatchedVisible()
      • getJustWatchedPosterImage

        androidx.lifecycle.LiveData<java.lang.String> getJustWatchedPosterImage()
      • open

        void open()
      • close

        void close()
      • isOpen

        boolean isOpen()