com.vodafone360.people
Class Settings

java.lang.Object
  extended by com.vodafone360.people.Settings

public final class Settings
extends java.lang.Object

All application settings.


Field Summary
private static long ALL_ENGINES_REQUESTS_TIMEOUT
          Generic timeout for requests.
static long API_REQUESTS_TIMEOUT_ACTIVITIES
          Timeout for activities API.
static long API_REQUESTS_TIMEOUT_AUTH
          Timeout for authentication API.
static long API_REQUESTS_TIMEOUT_CHAT_CREATE_CONV
          Timeout for chat create conversation API.
static long API_REQUESTS_TIMEOUT_CHAT_SEND_MESSAGE
          Timeout for chat send message API.
static long API_REQUESTS_TIMEOUT_CONTACTS
          Timeout for contacts API.
static long API_REQUESTS_TIMEOUT_GROUP_PRIVACY
          Timeout for group privacy API.
static long API_REQUESTS_TIMEOUT_IDENTITIES
          Timeout for identities API.
static long API_REQUESTS_TIMEOUT_PRESENCE_LIST
          Timeout for presence list API.
static long API_REQUESTS_TIMEOUT_PRESENCE_SET_AVAILABILITY
          Timeout for presence set availability API.
static java.lang.String APP_KEY_ID
          Key for application ID setting.
static java.lang.String APP_SECRET_KEY
          Key for application secret key setting.
static int BLANK_RPG_HEADER_COUNT
          Number of empty RPG poll responses before stopping RPG poll.
static java.lang.String DEACTIVATE_ENGINE_LIST_KEY
          This is a list of strings containing the names of engines to be deactivated in the build.
protected static java.lang.String DEFAULT_ENABLE_LOGCAT
          Default for logging enabled setting.
protected static java.lang.String DEFAULT_ENABLE_RPG
          Default for RPG enabled setting.
protected static java.lang.String DEFAULT_ENABLE_SNS_RESOURCE_ICON
          Default for SNS resource icon setting.
protected static java.lang.String DEFAULT_RPG_SERVER
          Default for RPG server URL setting.
protected static java.lang.String DEFAULT_SERVER_URL_HESSIAN
          Default for Hessian URL setting.
static boolean DIALER_CHEATCODES_ENABLED
           
static int DIALOG_CHECK_FREQUENCY_MILLIS
          Show the upgrade dialog box every 10 minutes.
private static long DONT_HANDLE_TIMEOUTS
          Do not handle timeouts for this API.
static boolean ENABLE_ACTIVATION
          Enable SMS account activation.
static boolean ENABLE_FACEBOOK_CHAT
           
static boolean ENABLE_FETCH_NATIVE_CONTACTS
          Enable fetching native contacts.
static boolean ENABLE_FETCH_NATIVE_CONTACTS_ON_CHANGE
          Enable fetching native contacts on change.
protected static java.lang.String ENABLE_LOGCAT_KEY
          Key for enable logging setting.
static boolean ENABLE_ME_PROFILE_SYNC
          Enable ME profile synchronisation.
static java.lang.String ENABLE_RPG_KEY
          Key for enable RPG setting.
static boolean ENABLE_SERVER_CONTACT_SYNC
          Enable server contact synchronisation.
static java.lang.String ENABLE_SNS_RESOURCE_ICON_KEY
          Key for enable SNS resource icon setting.
static boolean ENABLE_SUPER_EXPENSIVE_RESPONSE_FILE_LOGGING
          Danger!
static boolean ENABLE_THUMBNAIL_SYNC
          Enable server thumbnail synchronisation.
static boolean ENABLE_UPDATE_NATIVE_CONTACTS
          Enable update native contacts synchronisation.
static boolean ENABLED_CONTACTS_SYNC_TRACE
          Trace output for contact synchronisation components.
static boolean ENABLED_DATABASE_TRACE
          Trace output for database components.
static boolean ENABLED_ENGINE_TRACE
          Trace output for engine components.
static boolean ENABLED_TRANSPORT_TRACE
          Trace output for transport (i.e. network IO) components.
static boolean HIDE_CONNECTED_FRIENDS_GROUP
          Enable hiding of connected friends group.
static long HISTORY_IS_WEEK_LONG
          Number of milliseconds in a week.
static int HTTP_CONNECTION_TIMEOUT
          Milliseconds until HTTP connection will time out.
static java.lang.String HTTP_HEADER_CONTENT_TYPE
          HTTP header content type.
static int HTTP_MAX_RETRY_COUNT
          Maximum number of HTTP connection attempts.
static java.lang.String LOG_TAG
          LogCat TAG prefix.
static int NOTIFICATION_LED_COLOR
          LED colour.
static int NOTIFICATION_LED_OFF_TIME
          LED on time.
static int NOTIFICATION_LED_ON_TIME
          LED on time.
static int PREFS_CHECK_FREQUENCY_DEFAULT
          See UpdateSettingsActivity.FREQUENCY_SETTING_LONG array for meaning (i.e.
private static long PRESENCE_ENGINE_REQUESTS_TIMEOUT
          Timeout for all presence API requests.
static long REMOVE_REQUEST_FROM_QUEUE_MILLIS
          Timeout for request waiting in queue.
static java.lang.String RPG_SERVER_KEY
          Key for RPG server URL setting.
static java.lang.String SERVER_URL_HESSIAN_KEY
          Key for Hessian URL setting.
static long TCP_RETRY_BROKEN_CONNECTION_INTERVAL
          TCP retry interval if we have lost the connection (30 seconds).
static java.lang.String TCP_RPG_PORT_KEY
          Key for TCP port setting.
static java.lang.String TCP_RPG_URL_KEY
          Key for TCP server URL setting.
static int TCP_SOCKET_READ_TIMEOUT
          TCP socket read time out for the read-operation.
static long TCP_VF_HEARTBEAT_INTERVAL
          TCP Heartbeat interval (10 seconds).
static java.lang.String UPGRADE_CHECK_URL_KEY
          Key for upgrade check URL setting.
 
Constructor Summary
private Settings()
          Private constructor to prevent instantiation.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_TAG

public static final java.lang.String LOG_TAG
LogCat TAG prefix.

See Also:
Constant Field Values

DIALER_CHEATCODES_ENABLED

public static final boolean DIALER_CHEATCODES_ENABLED
See Also:
Constant Field Values

ENABLE_FACEBOOK_CHAT

public static boolean ENABLE_FACEBOOK_CHAT

HTTP_CONNECTION_TIMEOUT

public static final int HTTP_CONNECTION_TIMEOUT
Milliseconds until HTTP connection will time out.

See Also:
Constant Field Values

HTTP_MAX_RETRY_COUNT

public static final int HTTP_MAX_RETRY_COUNT
Maximum number of HTTP connection attempts.

See Also:
Constant Field Values

HTTP_HEADER_CONTENT_TYPE

public static final java.lang.String HTTP_HEADER_CONTENT_TYPE
HTTP header content type.

See Also:
Constant Field Values

BLANK_RPG_HEADER_COUNT

public static final int BLANK_RPG_HEADER_COUNT
Number of empty RPG poll responses before stopping RPG poll.

See Also:
Constant Field Values

TCP_VF_HEARTBEAT_INTERVAL

public static final long TCP_VF_HEARTBEAT_INTERVAL
TCP Heartbeat interval (10 seconds).

See Also:
Constant Field Values

TCP_RETRY_BROKEN_CONNECTION_INTERVAL

public static final long TCP_RETRY_BROKEN_CONNECTION_INTERVAL
TCP retry interval if we have lost the connection (30 seconds).

See Also:
Constant Field Values

TCP_SOCKET_READ_TIMEOUT

public static final int TCP_SOCKET_READ_TIMEOUT
TCP socket read time out for the read-operation.

See Also:
Constant Field Values

NOTIFICATION_LED_COLOR

public static final int NOTIFICATION_LED_COLOR
LED colour.

See Also:
Constant Field Values

NOTIFICATION_LED_OFF_TIME

public static final int NOTIFICATION_LED_OFF_TIME
LED on time.

See Also:
Constant Field Values

NOTIFICATION_LED_ON_TIME

public static final int NOTIFICATION_LED_ON_TIME
LED on time.

See Also:
Constant Field Values

PREFS_CHECK_FREQUENCY_DEFAULT

public static final int PREFS_CHECK_FREQUENCY_DEFAULT
See UpdateSettingsActivity.FREQUENCY_SETTING_LONG array for meaning (i.e. Every 6 hours)

See Also:
Constant Field Values

DIALOG_CHECK_FREQUENCY_MILLIS

public static final int DIALOG_CHECK_FREQUENCY_MILLIS
Show the upgrade dialog box every 10 minutes.

See Also:
Constant Field Values

ENABLED_ENGINE_TRACE

public static final boolean ENABLED_ENGINE_TRACE
Trace output for engine components.

See Also:
Constant Field Values

ENABLED_DATABASE_TRACE

public static final boolean ENABLED_DATABASE_TRACE
Trace output for database components.

See Also:
Constant Field Values

ENABLED_TRANSPORT_TRACE

public static final boolean ENABLED_TRANSPORT_TRACE
Trace output for transport (i.e. network IO) components.

See Also:
Constant Field Values

ENABLED_CONTACTS_SYNC_TRACE

public static final boolean ENABLED_CONTACTS_SYNC_TRACE
Trace output for contact synchronisation components.

See Also:
Constant Field Values

ENABLE_SUPER_EXPENSIVE_RESPONSE_FILE_LOGGING

public static boolean ENABLE_SUPER_EXPENSIVE_RESPONSE_FILE_LOGGING
Danger! Only set to true if you know what you are doing! This logs each response no matter if gzipped or not to the SD card under the given request ID.


DEACTIVATE_ENGINE_LIST_KEY

public static final java.lang.String DEACTIVATE_ENGINE_LIST_KEY
This is a list of strings containing the names of engines to be deactivated in the build. A de-activated engine is constructed but will never be run (nor will onCreate or onDestroy be called). Any UI requests will be automatically completed by the framework with a ServiceStatus.ERROR_NOT_IMPLEMENTED error.

See Also:
Constant Field Values

ENABLE_ACTIVATION

public static final boolean ENABLE_ACTIVATION
Enable SMS account activation.

See Also:
Constant Field Values

ENABLE_FETCH_NATIVE_CONTACTS

public static final boolean ENABLE_FETCH_NATIVE_CONTACTS
Enable fetching native contacts.

See Also:
Constant Field Values

ENABLE_FETCH_NATIVE_CONTACTS_ON_CHANGE

public static final boolean ENABLE_FETCH_NATIVE_CONTACTS_ON_CHANGE
Enable fetching native contacts on change.

See Also:
Constant Field Values

ENABLE_ME_PROFILE_SYNC

public static final boolean ENABLE_ME_PROFILE_SYNC
Enable ME profile synchronisation.

See Also:
Constant Field Values

ENABLE_SERVER_CONTACT_SYNC

public static final boolean ENABLE_SERVER_CONTACT_SYNC
Enable server contact synchronisation.

See Also:
Constant Field Values

ENABLE_THUMBNAIL_SYNC

public static final boolean ENABLE_THUMBNAIL_SYNC
Enable server thumbnail synchronisation.

See Also:
Constant Field Values

ENABLE_UPDATE_NATIVE_CONTACTS

public static final boolean ENABLE_UPDATE_NATIVE_CONTACTS
Enable update native contacts synchronisation.

See Also:
Constant Field Values

HIDE_CONNECTED_FRIENDS_GROUP

public static final boolean HIDE_CONNECTED_FRIENDS_GROUP
Enable hiding of connected friends group.

See Also:
Constant Field Values

APP_KEY_ID

public static final java.lang.String APP_KEY_ID
Key for application ID setting.

See Also:
Constant Field Values

APP_SECRET_KEY

public static final java.lang.String APP_SECRET_KEY
Key for application secret key setting.

See Also:
Constant Field Values

ENABLE_LOGCAT_KEY

protected static final java.lang.String ENABLE_LOGCAT_KEY
Key for enable logging setting.

See Also:
Constant Field Values

ENABLE_RPG_KEY

public static final java.lang.String ENABLE_RPG_KEY
Key for enable RPG setting.

See Also:
Constant Field Values

ENABLE_SNS_RESOURCE_ICON_KEY

public static final java.lang.String ENABLE_SNS_RESOURCE_ICON_KEY
Key for enable SNS resource icon setting.

See Also:
Constant Field Values

RPG_SERVER_KEY

public static final java.lang.String RPG_SERVER_KEY
Key for RPG server URL setting.

See Also:
Constant Field Values

SERVER_URL_HESSIAN_KEY

public static final java.lang.String SERVER_URL_HESSIAN_KEY
Key for Hessian URL setting.

See Also:
Constant Field Values

TCP_RPG_URL_KEY

public static final java.lang.String TCP_RPG_URL_KEY
Key for TCP server URL setting.

See Also:
Constant Field Values

TCP_RPG_PORT_KEY

public static final java.lang.String TCP_RPG_PORT_KEY
Key for TCP port setting.

See Also:
Constant Field Values

UPGRADE_CHECK_URL_KEY

public static final java.lang.String UPGRADE_CHECK_URL_KEY
Key for upgrade check URL setting.

See Also:
Constant Field Values

DEFAULT_ENABLE_LOGCAT

protected static final java.lang.String DEFAULT_ENABLE_LOGCAT
Default for logging enabled setting.

See Also:
Constant Field Values

DEFAULT_ENABLE_RPG

protected static final java.lang.String DEFAULT_ENABLE_RPG
Default for RPG enabled setting.

See Also:
Constant Field Values

DEFAULT_ENABLE_SNS_RESOURCE_ICON

protected static final java.lang.String DEFAULT_ENABLE_SNS_RESOURCE_ICON
Default for SNS resource icon setting.

See Also:
Constant Field Values

DEFAULT_RPG_SERVER

protected static final java.lang.String DEFAULT_RPG_SERVER
Default for RPG server URL setting.

See Also:
Constant Field Values

DEFAULT_SERVER_URL_HESSIAN

protected static final java.lang.String DEFAULT_SERVER_URL_HESSIAN
Default for Hessian URL setting.

See Also:
Constant Field Values

DONT_HANDLE_TIMEOUTS

private static final long DONT_HANDLE_TIMEOUTS
Do not handle timeouts for this API.

See Also:
Constant Field Values

ALL_ENGINES_REQUESTS_TIMEOUT

private static final long ALL_ENGINES_REQUESTS_TIMEOUT
Generic timeout for requests.

See Also:
Constant Field Values

PRESENCE_ENGINE_REQUESTS_TIMEOUT

private static final long PRESENCE_ENGINE_REQUESTS_TIMEOUT
Timeout for all presence API requests.

See Also:
Constant Field Values

HISTORY_IS_WEEK_LONG

public static final long HISTORY_IS_WEEK_LONG
Number of milliseconds in a week.

See Also:
Constant Field Values

REMOVE_REQUEST_FROM_QUEUE_MILLIS

public static final long REMOVE_REQUEST_FROM_QUEUE_MILLIS
Timeout for request waiting in queue.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_ACTIVITIES

public static final long API_REQUESTS_TIMEOUT_ACTIVITIES
Timeout for activities API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_AUTH

public static final long API_REQUESTS_TIMEOUT_AUTH
Timeout for authentication API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_CHAT_CREATE_CONV

public static final long API_REQUESTS_TIMEOUT_CHAT_CREATE_CONV
Timeout for chat create conversation API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_CHAT_SEND_MESSAGE

public static final long API_REQUESTS_TIMEOUT_CHAT_SEND_MESSAGE
Timeout for chat send message API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_CONTACTS

public static final long API_REQUESTS_TIMEOUT_CONTACTS
Timeout for contacts API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_GROUP_PRIVACY

public static final long API_REQUESTS_TIMEOUT_GROUP_PRIVACY
Timeout for group privacy API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_IDENTITIES

public static final long API_REQUESTS_TIMEOUT_IDENTITIES
Timeout for identities API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_PRESENCE_LIST

public static final long API_REQUESTS_TIMEOUT_PRESENCE_LIST
Timeout for presence list API.

See Also:
Constant Field Values

API_REQUESTS_TIMEOUT_PRESENCE_SET_AVAILABILITY

public static final long API_REQUESTS_TIMEOUT_PRESENCE_SET_AVAILABILITY
Timeout for presence set availability API.

See Also:
Constant Field Values
Constructor Detail

Settings

private Settings()
Private constructor to prevent instantiation.



JavaDoc