|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.hockeyapp.android.Constants
public class Constants
Copyright (c) 2009 nullwire aps Copyright (c) 2012 Codenauts UG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Field Summary | |
---|---|
static java.lang.String |
ANDROID_VERSION
The device's OS version. |
static java.lang.String |
APP_PACKAGE
The app's package name. |
static java.lang.String |
APP_VERSION
The app's version code. |
static java.lang.String |
BASE_URL
HockeyApp API URL. |
static java.lang.String |
FILES_PATH
Path where crash logs and temporary files are stored. |
static java.lang.String |
PHONE_MANUFACTURER
The device's model manufacturer name. |
static java.lang.String |
PHONE_MODEL
The device's model name. |
static java.lang.String |
SDK_NAME
Name of this SDK. |
static java.lang.String |
SDK_VERSION
Version of this SDK. |
static java.lang.String |
TAG
Tag for internal logging statements. |
Constructor Summary | |
---|---|
Constants()
|
Method Summary | |
---|---|
static void |
loadFromContext(Context context)
Initializes constants from the given context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String FILES_PATH
public static java.lang.String APP_VERSION
public static java.lang.String APP_PACKAGE
public static java.lang.String ANDROID_VERSION
public static java.lang.String PHONE_MODEL
public static java.lang.String PHONE_MANUFACTURER
public static final java.lang.String TAG
public static final java.lang.String BASE_URL
public static final java.lang.String SDK_NAME
public static final java.lang.String SDK_VERSION
Constructor Detail |
---|
public Constants()
Method Detail |
---|
public static void loadFromContext(Context context)
context
- The context to use. Usually your Activity object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |