Package knf.hydra.core
Class HeadConfig
-
- All Implemented Interfaces:
public abstract class HeadConfigModule configuration, enable and modify the behaviour of some features.
To use this class you need to create a new class and extend HeadConfig or use a kotlin object, then modify the required variables in init.
<b>Sample usage</b>
object: HeadConfig() { init { isRecentsAvailable = true isSearchAvailable = true ... } }
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanisRecentsAvailableprivate BooleanisDirectoryAvailableprivate BooleanisSearchAvailableprivate BooleanisSearchSuggestionsAvailableprivate BooleanisCalendarEnabledprivate BooleanisNotifyRecentsEnabledprivate BooleanisSensitiveContentprivate BooleanisCastEnabledprivate ReviewConfigreviewConfigprivate StringsearchBarTextprivate List<VideoDecoder>customDecodersprivate BypassBehaviorbypassBehaviorprivate Analytics.SettingsanalyticsSettingsprivate DirectoryModel.OrientationdirectoryOrientationprivate SettingPagesettingsPage
-
Constructor Summary
Constructors Constructor Description HeadConfig()
-
Method Summary
-
-
Method Detail
-
isRecentsAvailable
final Boolean isRecentsAvailable()
-
setRecentsAvailable
final Unit setRecentsAvailable(Boolean value)
-
isDirectoryAvailable
final Boolean isDirectoryAvailable()
-
setDirectoryAvailable
final Unit setDirectoryAvailable(Boolean value)
-
isSearchAvailable
final Boolean isSearchAvailable()
-
setSearchAvailable
final Unit setSearchAvailable(Boolean value)
-
isSearchSuggestionsAvailable
final Boolean isSearchSuggestionsAvailable()
-
setSearchSuggestionsAvailable
final Unit setSearchSuggestionsAvailable(Boolean value)
-
isCalendarEnabled
final Boolean isCalendarEnabled()
-
setCalendarEnabled
final Unit setCalendarEnabled(Boolean value)
-
isNotifyRecentsEnabled
final Boolean isNotifyRecentsEnabled()
-
setNotifyRecentsEnabled
final Unit setNotifyRecentsEnabled(Boolean value)
-
isSensitiveContent
final Boolean isSensitiveContent()
-
setSensitiveContent
final Unit setSensitiveContent(Boolean value)
-
isCastEnabled
final Boolean isCastEnabled()
-
setCastEnabled
final Unit setCastEnabled(Boolean value)
-
getReviewConfig
final ReviewConfig getReviewConfig()
-
setReviewConfig
final Unit setReviewConfig(ReviewConfig value)
-
getSearchBarText
final String getSearchBarText()
-
setSearchBarText
final Unit setSearchBarText(String value)
-
getCustomDecoders
final List<VideoDecoder> getCustomDecoders()
-
setCustomDecoders
final Unit setCustomDecoders(List<VideoDecoder> value)
-
getBypassBehavior
final BypassBehavior getBypassBehavior()
-
setBypassBehavior
final Unit setBypassBehavior(BypassBehavior value)
-
getAnalyticsSettings
final Analytics.Settings getAnalyticsSettings()
-
setAnalyticsSettings
final Unit setAnalyticsSettings(Analytics.Settings value)
-
getDirectoryOrientation
final DirectoryModel.Orientation getDirectoryOrientation()
-
setDirectoryOrientation
final Unit setDirectoryOrientation(DirectoryModel.Orientation value)
-
getSettingsPage
final SettingPage getSettingsPage()
-
setSettingsPage
final Unit setSettingsPage(SettingPage value)
-
-
-
-