blob: 3babc3472d7e1d4d1cc68d4f026fbcdbf6486b5e [file] [log] [blame]
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
package com.android.tv.common.flags;
/** Flags for TV app UI */
public interface UiFlags {
/**
* Whether or not this feature is compiled into this build.
*
* <p>This returns true by default, unless the is_compiled_selector parameter was set during
* code generation.
*/
boolean compiled();
/** Critic Ratings */
boolean enableCriticRatings();
/**
* Number of days to be shown by Recording History.
*
* <p>Set to 0 for all recordings.
*/
long maxHistoryDays();
/**
* The URL in playstore to send the user to when they select <emp>get more channels</emp>.
*
* <p>If the value is empty then the <emp>get more channels</emp> action is not shown.
*/
String moreChannelsUrl();
/** Unhide the launcher all the time */
boolean unhideLauncher();
}