Package com.jwplayer.pub.ui.viewmodels
Interface ChaptersViewModel
-
public interface ChaptersViewModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description androidx.lifecycle.LiveData<java.util.List<VttCue>>
getChapterList()
androidx.lifecycle.LiveData<java.lang.String>
getCurrentChapterTitle()
android.graphics.Bitmap
getThumbnailForChapter(VttCue vttCue)
void
hideChapterMenu()
boolean
isChapterClicked()
boolean
isChaptersAvailable()
androidx.lifecycle.LiveData<java.lang.Boolean>
isChapterTitleVisible()
androidx.lifecycle.LiveData<java.lang.Boolean>
isFullScreen()
androidx.lifecycle.LiveData<java.lang.Boolean>
isUiLayerVisible()
void
seekToChapter(VttCue vttCue)
void
setIsChapterClicked(boolean isChapterClicked)
void
showChapterMenu(boolean isFocusableWhenIsOpened)
-
-
-
Method Detail
-
isFullScreen
androidx.lifecycle.LiveData<java.lang.Boolean> isFullScreen()
-
getCurrentChapterTitle
androidx.lifecycle.LiveData<java.lang.String> getCurrentChapterTitle()
-
isChapterTitleVisible
androidx.lifecycle.LiveData<java.lang.Boolean> isChapterTitleVisible()
-
getChapterList
androidx.lifecycle.LiveData<java.util.List<VttCue>> getChapterList()
-
getThumbnailForChapter
android.graphics.Bitmap getThumbnailForChapter(VttCue vttCue)
-
showChapterMenu
void showChapterMenu(boolean isFocusableWhenIsOpened)
-
hideChapterMenu
void hideChapterMenu()
-
seekToChapter
void seekToChapter(VttCue vttCue)
-
isUiLayerVisible
androidx.lifecycle.LiveData<java.lang.Boolean> isUiLayerVisible()
-
isChaptersAvailable
boolean isChaptersAvailable()
-
setIsChapterClicked
void setIsChapterClicked(boolean isChapterClicked)
-
isChapterClicked
boolean isChapterClicked()
-
-