/templates/rx-architecture/app/src/main/java/com/futurice/project/network/ApiConstants.java
Java | 12 lines | 9 code | 2 blank | 1 comment | 0 complexity | c7005673443086d6aa4792fc5cd95797 MD5 | raw file
Possible License(s): CC-BY-4.0
- package com.futurice.project.network;
- class ApiConstants {
- // Just examples. Replace however you need!
- public static final String BASE_URL = "http://api.duckduckgo.com";
- public static final int HTTP_CONNECT_TIMEOUT = 6000; // milliseconds
- public static final int HTTP_READ_TIMEOUT = 10000; // milliseconds
- public static String RESPONSE_VALUE_SUCCESS = "success";
- public static String PARAM_VALUE_OFF = "0";
- public static String PARAM_VALUE_ON = "1";
- }