Package com.jwplayer.pub.ui.viewmodels
Interface CaptionsMenuViewModel
-
public interface CaptionsMenuViewModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description androidx.lifecycle.LiveData<Caption>
getCurrentlySelectedItem()
androidx.lifecycle.LiveData<java.util.List<Caption>>
getItemList()
androidx.lifecycle.LiveData<java.lang.Boolean>
isMenuIconVisible()
androidx.lifecycle.LiveData<java.lang.Boolean>
isUiLayerVisible()
void
onItemSelected(Caption item)
void
setUiLayerVisibility(java.lang.Boolean isVisible)
-
-
-
Method Detail
-
onItemSelected
void onItemSelected(Caption item)
-
isMenuIconVisible
@NonNull androidx.lifecycle.LiveData<java.lang.Boolean> isMenuIconVisible()
-
getCurrentlySelectedItem
@Nullable androidx.lifecycle.LiveData<Caption> getCurrentlySelectedItem()
-
getItemList
@Nullable androidx.lifecycle.LiveData<java.util.List<Caption>> getItemList()
-
setUiLayerVisibility
void setUiLayerVisibility(java.lang.Boolean isVisible)
-
isUiLayerVisible
androidx.lifecycle.LiveData<java.lang.Boolean> isUiLayerVisible()
-
-