MCPcopy Create free account
hub / github.com/FongMi/TV / getSyncMode

Method getSyncMode

app/src/main/java/com/fongmi/android/tv/setting/Setting.java:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 public static int getSyncMode() {
101 return Math.clamp(Prefers.getInt("sync_mode"), MIN_SYNC_MODE, MAX_SYNC_MODE);
102 }
103
104 public static void putSyncMode(int mode) {
105 Prefers.put("sync_mode", Math.clamp(mode, MIN_SYNC_MODE, MAX_SYNC_MODE));

Callers 2

setModeMethod · 0.95
onModeMethod · 0.95

Calls 1

getIntMethod · 0.95

Tested by

no test coverage detected