Introduce feature flag for Video Transcripts
@@ -69,6 +69,7 @@ public class Config {
private static final String REGISTRATION_ENABLED = "REGISTRATION_ENABLED";
private static final String FIREBASE_ENABLED = "FIREBASE_ENABLED";
private static final String APP_REVIEWS_ENABLED = "APP_REVIEWS_ENABLED";
+ private static final String VIDEO_TRANSCRIPT_ENABLED = "VIDEO_TRANSCRIPT_ENABLED";
public static class ZeroRatingConfig {
@@ -520,6 +521,10 @@ public class Config {
return getBoolean(FIREBASE_ENABLED, false);
}
+ public boolean isVideoTranscriptEnabled() {
+ return getBoolean(VIDEO_TRANSCRIPT_ENABLED, false);
+ }
+
@NonNull
public EnrollmentConfig getCourseDiscoveryConfig() {
return getObjectOrNewInstance(COURSE_ENROLLMENT, EnrollmentConfig.class);
