PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/templates/rx-architecture/app/src/main/java/com/futurice/project/network/ApiConstants.java

https://gitlab.com/intruxxer/android-best-practices
Java | 12 lines | 9 code | 2 blank | 1 comment | 0 complexity | c7005673443086d6aa4792fc5cd95797 MD5 | raw file
 1package com.futurice.project.network;
 2
 3class ApiConstants {
 4
 5    // Just examples. Replace however you need!
 6    public static final String BASE_URL = "http://api.duckduckgo.com";
 7    public static final int HTTP_CONNECT_TIMEOUT =  6000; // milliseconds
 8    public static final int HTTP_READ_TIMEOUT = 10000; // milliseconds
 9    public static String RESPONSE_VALUE_SUCCESS = "success";
10    public static String PARAM_VALUE_OFF = "0";
11    public static String PARAM_VALUE_ON = "1";
12}