Accela SDK for Android  V3.0
 All Classes Functions Variables Pages
com.accela.mobile.AMSetting Class Reference

Static Public Member Functions

static ResourceBundle getStringResourceBundle ()
 

Static Public Attributes

static final String AM_SDK_NAME = "Accela-Mobile-SDK"
 
static final String AM_SDK_VERSION = "v3.0 2013-05-10"
 
static final String AM_OAUTH_HOST = "https://auth.accela.com"
 
static final String AM_API_HOST = "https://apis.accela.com"
 
static final String PUBLIC_AUTHORIZE_URI = "/oauth2/authorize"
 
static final String ACCESS_TOKEN_URI = "/oauth2/token"
 
static final String PRIVATE_AUTHORIZE_URI = "/sso/ticket"
 
static final String BROARDCAST_ACTION_LOGGED_IN = "com.accela.mobile.action.LOGGED_IN"
 
static final String BROARDCAST_ACTION_SESSION_INVALID = "com.accela.mobile.action.SESSION_INVALID"
 
static final int HTTP_CONNECTION_TIMEOUT = 120 * 1000
 
static final int SOCKET_TIMEOUT = 120 * 1000
 
static final Boolean DebugMode = true
 

Detailed Description

 Accela Amobile
 File: Setting.java
 Accela, Inc.
 Copyright (C): 2012
 Description:
 AccelaMobile Setting object, use to defines some global values such as SDK configurations, service URIs, and HTTP configurations.
 Notes:
 Revision History
Since
1.0

Member Function Documentation

static ResourceBundle com.accela.mobile.AMSetting.getStringResourceBundle ( )
inlinestatic

Use the static method to get resource bundle for the current language set on the mobile device. Note: The file name will be localizable_en-US.properties for language en_US, and localizable_ar-AE.properties for language ar_AE.

Since
2.3

Member Data Documentation

final String com.accela.mobile.AMSetting.AM_OAUTH_HOST = "https://auth.accela.com"
static

The URL of AccelaMobile OAuth server and APIs cloud server.

Since
1.0
final String com.accela.mobile.AMSetting.AM_SDK_NAME = "Accela-Mobile-SDK"
static

SDK name and version, usually you needn't change it.

Since
1.0
final String com.accela.mobile.AMSetting.BROARDCAST_ACTION_LOGGED_IN = "com.accela.mobile.action.LOGGED_IN"
static

The action names of broadcast messages. They are sent by SDK when user logs in successfully or access token becomes invalid .

Since
2.3
final Boolean com.accela.mobile.AMSetting.DebugMode = true
static

Debug flag for logging. When it is set to true, more detailed debugging messages will be printed to log. Please set its value to true if you are working on the SDK source code, and set its value to false before you build the SDK Jar package for a release.

Since
1.0
final int com.accela.mobile.AMSetting.HTTP_CONNECTION_TIMEOUT = 120 * 1000
static

Timeout interval of estimating HTTP/HTTPS connection (unit: millisecond). Usually you needn't change the default value, but you are allowed to do so based on the real network speed.

Since
1.0
final String com.accela.mobile.AMSetting.PUBLIC_AUTHORIZE_URI = "/oauth2/authorize"
static

The URIs of services used to get authorization code and acess token.

Since
2.3
final int com.accela.mobile.AMSetting.SOCKET_TIMEOUT = 120 * 1000
static

Timeout interval of waiting for data from HTTP/HTTPS connection (unit: millisecond). Usually you needn't change the default value, but you are allowed to do so based on the real network speed.

Since
3.1

The documentation for this class was generated from the following file: