- fail(FHResponse) - Method in interface com.feedhenry.sdk.FHActCallback
-
Will be run if the action call is failed
- FH - Class in com.feedhenry.sdk
-
The FH class provides static methods to initialize the library, create new instances of all the
API request objects, and configure global settings.
- FHAct - Interface in com.feedhenry.sdk
-
Deprecated.
the execute method will become an asynchronous method and the
executeAsync methods will be removed in fh-android-sdk:3.0.0/Platform 3.7.0
- FHAct - Interface in com.feedhenry.sdk2
-
Represents a request call to FeedHenry.
- FHActCallback - Interface in com.feedhenry.sdk
-
An FHActCallback will be used to execute code after a FH API request finishes running on a background thread.
- FHActRequest - Class in com.feedhenry.sdk.api
-
The request for calling the cloud side function of the app.
- FHActRequest(Context) - Constructor for class com.feedhenry.sdk.api.FHActRequest
-
Constructor
- FHAuthRequest - Class in com.feedhenry.sdk.api
-
The request for calling the authentication function.
- FHAuthRequest(Context) - Constructor for class com.feedhenry.sdk.api.FHAuthRequest
-
Deprecated.
please use FHActRequest(Context, FHAuthSession) instead
- FHAuthRequest(Context, FHAuthSession) - Constructor for class com.feedhenry.sdk.api.FHAuthRequest
-
- FHAuthSession - Class in com.feedhenry.sdk.api
-
- FHAuthSession - Class in com.feedhenry.sdk.api2
-
- FHAuthSession(DataManager, FHHttpClient) - Constructor for class com.feedhenry.sdk.api2.FHAuthSession
-
Boring constructor with no side effects.
- FHAuthSession.Callback - Interface in com.feedhenry.sdk.api
-
- FHCloudRequest - Class in com.feedhenry.sdk.api
-
- FHCloudRequest(Context) - Constructor for class com.feedhenry.sdk.api.FHCloudRequest
-
- FHCloudRequest.Methods - Enum in com.feedhenry.sdk.api
-
- FHHttpClient - Class in com.feedhenry.sdk
-
- FHHttpClient() - Constructor for class com.feedhenry.sdk.FHHttpClient
-
- FHHttpClient - Class in com.feedhenry.sdk2
-
- FHHttpClient() - Constructor for class com.feedhenry.sdk2.FHHttpClient
-
- FHInitializeRequest - Class in com.feedhenry.sdk.api
-
The request for calling the initialization function.
- FHInitializeRequest(Context) - Constructor for class com.feedhenry.sdk.api.FHInitializeRequest
-
- FHInvalidActionException - Exception in com.feedhenry.sdk.exceptions
-
- FHInvalidActionException(String) - Constructor for exception com.feedhenry.sdk.exceptions.FHInvalidActionException
-
- FHLog - Class in com.feedhenry.sdk.utils
-
- FHLog() - Constructor for class com.feedhenry.sdk.utils.FHLog
-
- FHNotReadyException - Exception in com.feedhenry.sdk.exceptions
-
This exception will be thrown if an FH API method is called before FH.init finishes.
- FHNotReadyException() - Constructor for exception com.feedhenry.sdk.exceptions.FHNotReadyException
-
- FHOAuthIntent - Class in com.feedhenry.sdk.oauth
-
An intent wrapper for the WebView.
- FHOAuthIntent() - Constructor for class com.feedhenry.sdk.oauth.FHOAuthIntent
-
- FHOAuthWebView - Class in com.feedhenry.sdk.oauth
-
Construct a WebView window and load a url request.
- FHOAuthWebView(Activity, Bundle) - Constructor for class com.feedhenry.sdk.oauth.FHOAuthWebView
-
- FHRemote - Class in com.feedhenry.sdk
-
The base class that implements
FHAct.
- FHRemote(Context) - Constructor for class com.feedhenry.sdk.FHRemote
-
- FHRemote - Class in com.feedhenry.sdk2
-
The base class that implements
FHAct.
- FHRemote(Context) - Constructor for class com.feedhenry.sdk2.FHRemote
-
- FHResponse - Class in com.feedhenry.sdk
-
Represents the response data from FeedHenry when an API call completes.
- FHResponse(JSONObject, JSONArray, Throwable, String) - Constructor for class com.feedhenry.sdk.FHResponse
-
- FHSyncClient - Class in com.feedhenry.sdk.sync
-
The sync client is part of the FeedHenry data sync framework.
- FHSyncClient() - Constructor for class com.feedhenry.sdk.sync.FHSyncClient
-
- FHSyncConfig - Class in com.feedhenry.sdk.sync
-
Configuration options for the sync framework.
- FHSyncConfig() - Constructor for class com.feedhenry.sdk.sync.FHSyncConfig
-
- FHSyncDataRecord - Class in com.feedhenry.sdk.sync
-
- FHSyncDataRecord() - Constructor for class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- FHSyncDataRecord(JSONObject) - Constructor for class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- FHSyncDataRecord(String, JSONObject) - Constructor for class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- FHSyncDataset - Class in com.feedhenry.sdk.sync
-
- FHSyncDataset(Context, FHSyncNotificationHandler, String, FHSyncConfig, JSONObject, JSONObject) - Constructor for class com.feedhenry.sdk.sync.FHSyncDataset
-
- FHSyncListener - Interface in com.feedhenry.sdk.sync
-
Implement the listener interface to monitor events invoked by the sync framework.
- FHSyncNotificationHandler - Class in com.feedhenry.sdk.sync
-
- FHSyncNotificationHandler(FHSyncListener) - Constructor for class com.feedhenry.sdk.sync.FHSyncNotificationHandler
-
- FHSyncNotificationHandler(Looper, FHSyncListener) - Constructor for class com.feedhenry.sdk.sync.FHSyncNotificationHandler
-
- FHSyncPendingRecord - Class in com.feedhenry.sdk.sync
-
- FHSyncPendingRecord() - Constructor for class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- FHSyncUtils - Class in com.feedhenry.sdk.sync
-
- FHSyncUtils() - Constructor for class com.feedhenry.sdk.sync.FHSyncUtils
-
- forceSync(String) - Method in class com.feedhenry.sdk.sync.FHSyncClient
-
Causes the sync framework to schedule for immediate execution a sync.
- fromJSON(JSONObject) - Static method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Creates a new configuration object from JSON.
- fromJSON(JSONObject) - Static method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- fromJSON(JSONObject) - Static method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- generateHash(String) - Static method in class com.feedhenry.sdk.sync.FHSyncUtils
-
- generateObjectHash(JSONArray) - Static method in class com.feedhenry.sdk.sync.FHSyncUtils
-
- generateObjectHash(JSONObject) - Static method in class com.feedhenry.sdk.sync.FHSyncUtils
-
- get(String, Header[], JSONObject, FHActCallback, boolean) - Static method in class com.feedhenry.sdk.FHHttpClient
-
Deprecated.
please use com.feedhenry.sdk2.FHHttpClient.get instead
- get(String, Header[], JSONObject, FHActCallback, boolean) - Method in class com.feedhenry.sdk2.FHHttpClient
-
- get(int) - Method in class org.json.fh.JSONArray
-
Get the object value associated with an index.
- get(String) - Method in class org.json.fh.JSONObject
-
Get the value object associated with a key.
- getAction() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getAlias() - Method in class com.feedhenry.sdk.PushConfig
-
- getApiURl() - Method in class com.feedhenry.sdk.api.FHActRequest
-
- getApiURl() - Method in class com.feedhenry.sdk.FHRemote
-
- getApiURl() - Method in class com.feedhenry.sdk2.FHRemote
-
- getAppApiKey() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of "appkey" in the fh.properties file.
- getAppId() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of "appid" in the fh.properties file.
- getAppMode() - Method in class com.feedhenry.sdk.AppProps
-
Deprecated.
- getArray() - Method in class com.feedhenry.sdk.FHResponse
-
Gets the response data as a JSONArray.
- getBoolean(int) - Method in class org.json.fh.JSONArray
-
Get the boolean value associated with an index.
- getBoolean(String) - Method in class org.json.fh.JSONObject
-
Get the boolean value associated with a key.
- getCategories() - Method in class com.feedhenry.sdk.PushConfig
-
- getCause() - Method in exception org.json.fh.JSONException
-
- getCloudHost() - Method in class com.feedhenry.sdk.CloudProps
-
Return the cloud host of the app.
- getCloudHost() - Static method in class com.feedhenry.sdk.FH
-
Gets the cloud host.
- getCode() - Method in class com.feedhenry.sdk.sync.NotificationMessage
-
The code message associated with the event
- getConnectionTag() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of "connectiontag" in the fh.properties file.
- getCrashCountWait() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets the maximum crash count.
- getCrashedCount() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getData() - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- getDataId() - Method in class com.feedhenry.sdk.sync.NotificationMessage
-
The id of the dataset associated with the event
- getDefaultParams() - Static method in class com.feedhenry.sdk.FH
-
Gets the default params for customised HTTP Requests.
- getDefaultParamsAsHeaders(Header[]) - Static method in class com.feedhenry.sdk.FH
-
- getDeviceId(Context) - Static method in class com.feedhenry.sdk.Device
-
Gets the unique device ID.
- getDeviceModelAndManufacturer() - Static method in class com.feedhenry.sdk.Device
-
Gets the model and manufacturer (if possible) of the device.
- getDouble(int) - Method in class org.json.fh.JSONArray
-
Get the double value associated with an index.
- getDouble(String) - Method in class org.json.fh.JSONObject
-
Get the double value associated with a key.
- getEnv() - Method in class com.feedhenry.sdk.CloudProps
-
Gets the environment of the cloud app.
- getError() - Method in class com.feedhenry.sdk.FHResponse
-
Gets the error.
- getErrorMessage() - Method in class com.feedhenry.sdk.FHResponse
-
Gets the error message.
- getHashValue() - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- getHashValue() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getHost() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of "host" in the fh.properties file.
- getInFlightDate() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getInitValue() - Static method in class com.feedhenry.sdk.CloudProps
-
Gets tracking data from init data.
- getInstance() - Static method in class com.feedhenry.sdk.AppProps
-
A method to retrieve the singleton instance of AppProps.
- getInstance() - Static method in class com.feedhenry.sdk.CloudProps
-
- getInstance() - Static method in class com.feedhenry.sdk.NetworkManager
-
- getInstance() - Static method in class com.feedhenry.sdk.sync.FHSyncClient
-
Gets the singleton instance of the sync client.
- getInstance() - Static method in class com.feedhenry.sdk.utils.DataManager
-
- getInt(int) - Method in class org.json.fh.JSONArray
-
Get the int value associated with an index.
- getInt(String) - Method in class org.json.fh.JSONObject
-
Get the int value associated with a key.
- getJson() - Method in class com.feedhenry.sdk.FHResponse
-
Gets the response data as a JSONObject.
- getJSON() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets a JSON representation of the configuration object.
- getJSON() - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- getJSON() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- getJSON() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getJSONArray(int) - Method in class org.json.fh.JSONArray
-
Get the JSONArray associated with an index.
- getJSONArray(String) - Method in class org.json.fh.JSONObject
-
Get the JSONArray value associated with a key.
- getJSONObject(int) - Method in class org.json.fh.JSONArray
-
Get the JSONObject associated with an index.
- getJSONObject(String) - Method in class org.json.fh.JSONObject
-
Get the JSONObject value associated with a key.
- getLogLevel() - Static method in class com.feedhenry.sdk.FH
-
Gets the current log level for the FH library.
- getLong(int) - Method in class org.json.fh.JSONArray
-
Get the long value associated with an index.
- getLong(String) - Method in class org.json.fh.JSONObject
-
Get the long value associated with a key.
- getMessage() - Method in class com.feedhenry.sdk.sync.NotificationMessage
-
Extra message associated with the event
- getMessage(String, String, int, String) - Static method in class com.feedhenry.sdk.sync.NotificationMessage
-
- getPath() - Method in class com.feedhenry.sdk.api.FHActRequest
-
- getPath() - Method in class com.feedhenry.sdk.api.FHAuthRequest
-
- getPath() - Method in class com.feedhenry.sdk.api.FHCloudRequest
-
- getPath() - Method in class com.feedhenry.sdk.api.FHInitializeRequest
-
- getPath() - Method in class com.feedhenry.sdk.FHRemote
-
- getPath() - Method in class com.feedhenry.sdk2.FHRemote
-
- getPostData() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getPreData() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getProjectId() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of "projectid" in the fh.properties file.
- getPushSecret() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of the variant secret in the fhconfig.properties file.
- getPushSenderId() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of the Sender ID in the fhconfig.properties file.
- getPushServerUrl() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of the UnifiedPush server URL in the fhconfig.properties file.
- getPushVariant() - Method in class com.feedhenry.sdk.AppProps
-
Gets the value of the UnifiedPush variant in the fhconfig.properties file.
- getRawResponse() - Method in class com.feedhenry.sdk.FHResponse
-
Gets the raw response content.
- getRequestArgs() - Method in class com.feedhenry.sdk.api.FHActRequest
-
- getRequestArgs() - Method in class com.feedhenry.sdk.api.FHAuthRequest
-
- getRequestArgs() - Method in class com.feedhenry.sdk.api.FHCloudRequest
-
- getRequestArgs() - Method in class com.feedhenry.sdk.api.FHInitializeRequest
-
- getRequestArgs() - Method in class com.feedhenry.sdk.FHRemote
-
- getRequestArgs() - Method in class com.feedhenry.sdk2.FHRemote
-
- getString(int) - Method in class org.json.fh.JSONArray
-
Get the string associated with an index.
- getString(String) - Method in class org.json.fh.JSONObject
-
Get the string associated with a key.
- getSyncConfig() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- getSyncEnd() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- getSyncFrequency() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets the current sync interval.
- getSyncStart() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- getTimestamp() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getToken() - Static method in class com.feedhenry.sdk.api.FHAuthSession
-
Deprecated.
please use com.feedhenry.sdk.api2.FHAuthSession.getToken instead
- getToken() - Method in class com.feedhenry.sdk.api2.FHAuthSession
-
Gets the value of the current session token.
- getUid() - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- getUid() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- getUID() - Method in class com.feedhenry.sdk.sync.NotificationMessage
-
The id of the data record associated with the event
- getUserAgent() - Static method in class com.feedhenry.sdk.Device
-
Gets the custom user agent string.
- getUserAgent() - Static method in class com.feedhenry.sdk.FH
-
Gets the customized user-agent string for the SDK.
- getView() - Method in class com.feedhenry.sdk.oauth.FHOAuthWebView
-
- getWaitingFor() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- GT - Static variable in class org.json.fh.XML
-
The Character '>'.
- i(String, String) - Static method in class com.feedhenry.sdk.utils.FHLog
-
- incrementCrashCount() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- init(JSONObject) - Static method in class com.feedhenry.sdk.CloudProps
-
Gets the instance of CloudProps via a JSONObject.
- init(Context, FHActCallback) - Static method in class com.feedhenry.sdk.FH
-
Initializes the application.
- init(Context) - Static method in class com.feedhenry.sdk.NetworkManager
-
- init(Context, FHSyncConfig, FHSyncListener) - Method in class com.feedhenry.sdk.sync.FHSyncClient
-
Initializes the sync client.
- init(Context) - Static method in class com.feedhenry.sdk.utils.DataManager
-
- initDev() - Static method in class com.feedhenry.sdk.CloudProps
-
Gets the instance of CloudProps for local development.
- isAutoSyncLocalUpdates() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client automatically updates on local changes.
- isCrashed() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- isDelayed() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- isInFlight() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- isLocalDevelopment() - Method in class com.feedhenry.sdk.AppProps
-
Return if the app is running in local dev mode
(i.e., if fhconfig.local.properties file is found in the assets directory).
- isNotifyClientStorageFailed() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a client storage failed event.
- isNotifyDeltaReceived() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a delta received event.
- isNotifyLocalUpdateApplied() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a local updates applied event.
- isNotifyOfflineUpdate() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on an offline update event.
- isNotifyRemoteUpdateApplied() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a remote update applied event.
- isNotifySyncCollisions() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a sync collision event.
- isNotifySyncComplete() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a sync complete event.
- isNotifySyncFailed() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a sync failed event.
- isNotifySyncStarted() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on a sync start event.
- isNotifyUpdateFailed() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether the sync client notifies on an update failed event.
- isNull(int) - Method in class org.json.fh.JSONArray
-
Determine if the value is null.
- isNull(String) - Method in class org.json.fh.JSONObject
-
Determine if the value associated with the key is null or if there is
no value.
- isOnline() - Static method in class com.feedhenry.sdk.FH
-
- isOnline() - Method in class com.feedhenry.sdk.NetworkManager
-
- isReady() - Static method in class com.feedhenry.sdk.FH
-
Checks if FH is ready.
- isResendCrashedUpdates() - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Gets whether changes should be re-submitted or abandoned when the crash limit is reached.
- isStopSync() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- isSyncPending() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- isSyncRunning() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- join(String) - Method in class org.json.fh.JSONArray
-
Make a string from the contents of this JSONArray.
- JSONArray - Class in org.json.fh
-
A JSONArray is an ordered sequence of values.
- JSONArray() - Constructor for class org.json.fh.JSONArray
-
Construct an empty JSONArray.
- JSONArray(JSONTokener) - Constructor for class org.json.fh.JSONArray
-
Construct a JSONArray from a JSONTokener.
- JSONArray(String) - Constructor for class org.json.fh.JSONArray
-
Construct a JSONArray from a source sJSON text.
- JSONArray(Collection) - Constructor for class org.json.fh.JSONArray
-
Construct a JSONArray from a Collection.
- JSONException - Exception in org.json.fh
-
The JSONException is thrown by the JSON.org classes then things are amiss.
- JSONException(String) - Constructor for exception org.json.fh.JSONException
-
Constructs a JSONException with an explanatory message.
- JSONException(Throwable) - Constructor for exception org.json.fh.JSONException
-
- JSONObject - Class in org.json.fh
-
A JSONObject is an unordered collection of name/value pairs.
- JSONObject() - Constructor for class org.json.fh.JSONObject
-
Construct an empty JSONObject.
- JSONObject(JSONObject, String[]) - Constructor for class org.json.fh.JSONObject
-
Construct a JSONObject from a subset of another JSONObject.
- JSONObject(JSONTokener) - Constructor for class org.json.fh.JSONObject
-
Construct a JSONObject from a JSONTokener.
- JSONObject(Map) - Constructor for class org.json.fh.JSONObject
-
Construct a JSONObject from a Map.
- JSONObject(Object, String[]) - Constructor for class org.json.fh.JSONObject
-
Construct a JSONObject from an Object, using reflection to find the
public members.
- JSONObject(String) - Constructor for class org.json.fh.JSONObject
-
Construct a JSONObject from a string.
- JSONString - Interface in org.json.fh
-
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(),
and JSONWriter.value(Object).
- JSONStringer - Class in org.json.fh
-
JSONStringer provides a quick and convenient way of producing JSON text.
- JSONStringer() - Constructor for class org.json.fh.JSONStringer
-
Make a fresh JSONStringer.
- JSONTokener - Class in org.json.fh
-
A JSONTokener takes a source string and extracts characters and tokens from
it.
- JSONTokener(String) - Constructor for class org.json.fh.JSONTokener
-
Construct a JSONTokener from a string.
- JSONWriter - Class in org.json.fh
-
JSONWriter provides a quick and convenient way of producing JSON text.
- JSONWriter(Writer) - Constructor for class org.json.fh.JSONWriter
-
Make a fresh JSONWriter.
- names() - Method in class org.json.fh.JSONObject
-
Produce a JSONArray containing the names of the elements of this
JSONObject.
- NetworkManager - Class in com.feedhenry.sdk
-
- NetworkManager(Context) - Constructor for class com.feedhenry.sdk.NetworkManager
-
- next() - Method in class org.json.fh.JSONTokener
-
Get the next character in the source string.
- next(char) - Method in class org.json.fh.JSONTokener
-
Consume the next character, and check that it matches a specified
character.
- next(int) - Method in class org.json.fh.JSONTokener
-
Get the next n characters.
- nextCDATA() - Method in class org.json.fh.XMLTokener
-
Get the text in the CDATA block.
- nextClean() - Method in class org.json.fh.JSONTokener
-
Get the next char in the string, skipping whitespace
and comments (slashslash, slashstar, and hash).
- nextContent() - Method in class org.json.fh.XMLTokener
-
Get the next XML outer token, trimming whitespace.
- nextEntity(char) - Method in class org.json.fh.XMLTokener
-
Return the next entity.
- nextMeta() - Method in class org.json.fh.XMLTokener
-
Returns the next XML meta token.
- nextString(char) - Method in class org.json.fh.JSONTokener
-
Return the characters up to the next close quote character.
- nextTo(char) - Method in class org.json.fh.JSONTokener
-
Get the text up but not including the specified character or the
end of line, whichever comes first.
- nextTo(String) - Method in class org.json.fh.JSONTokener
-
Get the text up but not including one of the specified delimeter
characters or the end of line, whichever comes first.
- nextToken() - Method in class org.json.fh.HTTPTokener
-
Get the next token or string.
- nextToken() - Method in class org.json.fh.XMLTokener
-
Get the next XML Token.
- nextValue() - Method in class org.json.fh.JSONTokener
-
Get the next value.
- NotificationMessage - Class in com.feedhenry.sdk.sync
-
The message object sent to the listener when an event happened.
- NotificationMessage(String, String, String, String) - Constructor for class com.feedhenry.sdk.sync.NotificationMessage
-
- NULL - Static variable in class org.json.fh.JSONObject
-
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
- numberToString(Number) - Static method in class org.json.fh.JSONObject
-
Produce a string from a Number.
- object() - Method in class org.json.fh.JSONWriter
-
Begin appending a new object.
- OFFLINE_UPDATE_CODE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- OFFLINE_UPDATE_MESSAGE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- onClientStorageFailed(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a client storage failed event is emitted.
- onCollisionDetected(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a collision event is emitted.
- onCreate(Bundle) - Method in class com.feedhenry.sdk.oauth.FHOAuthIntent
-
- onCreate() - Method in class com.feedhenry.sdk.oauth.FHOAuthWebView
-
- onDeltaReceived(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a delta received event is emitted.
- onKeyDown(int, KeyEvent) - Method in class com.feedhenry.sdk.oauth.FHOAuthIntent
-
- onLocalUpdateApplied(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a local update applied event is emitted.
- onRemoteUpdateApplied(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a remote update event is emitted.
- onRemoteUpdateFailed(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a remote update failed event is emitted.
- onSyncCompleted(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a sync loop complete event is emitted
- onSyncFailed(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a sync failed event is emitted.
- onSyncStarted(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a sync loop start event is emitted
- onUpdateOffline(NotificationMessage) - Method in interface com.feedhenry.sdk.sync.FHSyncListener
-
Invoked when a offline update event is emitted.
- opt(int) - Method in class org.json.fh.JSONArray
-
Get the optional object value associated with an index.
- opt(String) - Method in class org.json.fh.JSONObject
-
Get an optional value associated with a key.
- optBoolean(int) - Method in class org.json.fh.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(int, boolean) - Method in class org.json.fh.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(String) - Method in class org.json.fh.JSONObject
-
Get an optional boolean associated with a key.
- optBoolean(String, boolean) - Method in class org.json.fh.JSONObject
-
Get an optional boolean associated with a key.
- optDouble(int) - Method in class org.json.fh.JSONArray
-
Get the optional double value associated with an index.
- optDouble(int, double) - Method in class org.json.fh.JSONArray
-
Get the optional double value associated with an index.
- optDouble(String) - Method in class org.json.fh.JSONObject
-
Get an optional double associated with a key,
or NaN if there is no such key or if its value is not a number.
- optDouble(String, double) - Method in class org.json.fh.JSONObject
-
Get an optional double associated with a key, or the
defaultValue if there is no such key or if its value is not a number.
- optInt(int) - Method in class org.json.fh.JSONArray
-
Get the optional int value associated with an index.
- optInt(int, int) - Method in class org.json.fh.JSONArray
-
Get the optional int value associated with an index.
- optInt(String) - Method in class org.json.fh.JSONObject
-
Get an optional int value associated with a key,
or zero if there is no such key or if the value is not a number.
- optInt(String, int) - Method in class org.json.fh.JSONObject
-
Get an optional int value associated with a key,
or the default if there is no such key or if the value is not a number.
- optJSONArray(int) - Method in class org.json.fh.JSONArray
-
Get the optional JSONArray associated with an index.
- optJSONArray(String) - Method in class org.json.fh.JSONObject
-
Get an optional JSONArray associated with a key.
- optJSONObject(int) - Method in class org.json.fh.JSONArray
-
Get the optional JSONObject associated with an index.
- optJSONObject(String) - Method in class org.json.fh.JSONObject
-
Get an optional JSONObject associated with a key.
- optLong(int) - Method in class org.json.fh.JSONArray
-
Get the optional long value associated with an index.
- optLong(int, long) - Method in class org.json.fh.JSONArray
-
Get the optional long value associated with an index.
- optLong(String) - Method in class org.json.fh.JSONObject
-
Get an optional long value associated with a key,
or zero if there is no such key or if the value is not a number.
- optLong(String, long) - Method in class org.json.fh.JSONObject
-
Get an optional long value associated with a key,
or the default if there is no such key or if the value is not a number.
- optString(int) - Method in class org.json.fh.JSONArray
-
Get the optional string value associated with an index.
- optString(int, String) - Method in class org.json.fh.JSONArray
-
Get the optional string associated with an index.
- optString(String) - Method in class org.json.fh.JSONObject
-
Get an optional string associated with a key.
- optString(String, String) - Method in class org.json.fh.JSONObject
-
Get an optional string associated with a key.
- org.json.fh - package org.json.fh
-
- parse(String) - Static method in enum com.feedhenry.sdk.api.FHCloudRequest.Methods
-
Casts a HTTP Method name to a Methods enum.
- PATH_PREFIX - Static variable in class com.feedhenry.sdk.FHRemote
-
- PATH_PREFIX - Static variable in class com.feedhenry.sdk2.FHRemote
-
- pauseSync() - Method in class com.feedhenry.sdk.sync.FHSyncClient
-
This method will pause synchronization.
- post(String, Header[], JSONObject, FHActCallback, boolean) - Static method in class com.feedhenry.sdk.FHHttpClient
-
Deprecated.
please use com.feedhenry.sdk2.FHHttpClient.post instead
- post(String, Header[], JSONObject, FHActCallback, boolean) - Method in class com.feedhenry.sdk2.FHHttpClient
-
- PushConfig - Class in com.feedhenry.sdk
-
- PushConfig() - Constructor for class com.feedhenry.sdk.PushConfig
-
- pushRegister(FHActCallback) - Static method in class com.feedhenry.sdk.FH
-
Registers a device on a push network.
- pushRegister(PushConfig, FHActCallback) - Static method in class com.feedhenry.sdk.FH
-
Registers a device on a push network.
- put(String, Header[], JSONObject, FHActCallback, boolean) - Static method in class com.feedhenry.sdk.FHHttpClient
-
Deprecated.
please use com.feedhenry.sdk2.FHHttpClient.put instead
- put(String, Header[], JSONObject, FHActCallback, boolean) - Method in class com.feedhenry.sdk2.FHHttpClient
-
- put(boolean) - Method in class org.json.fh.JSONArray
-
Append a boolean value.
- put(Collection) - Method in class org.json.fh.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONArray which is produced from a Collection.
- put(double) - Method in class org.json.fh.JSONArray
-
Append a double value.
- put(int) - Method in class org.json.fh.JSONArray
-
Append an int value.
- put(long) - Method in class org.json.fh.JSONArray
-
Append an long value.
- put(Map) - Method in class org.json.fh.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONObject which is produced from a Map.
- put(Object) - Method in class org.json.fh.JSONArray
-
Append an object value.
- put(int, boolean) - Method in class org.json.fh.JSONArray
-
Put or replace a boolean value in the JSONArray.
- put(int, Collection) - Method in class org.json.fh.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONArray which is produced from a Collection.
- put(int, double) - Method in class org.json.fh.JSONArray
-
Put or replace a double value.
- put(int, int) - Method in class org.json.fh.JSONArray
-
Put or replace an int value.
- put(int, long) - Method in class org.json.fh.JSONArray
-
Put or replace a long value.
- put(int, Map) - Method in class org.json.fh.JSONArray
-
Put a value in the JSONArray, where the value will be a
JSONObject which is produced from a Map.
- put(int, Object) - Method in class org.json.fh.JSONArray
-
Put or replace an object value in the JSONArray.
- put(String, Collection) - Method in class org.json.fh.JSONObject
-
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
- put(String, boolean) - Method in class org.json.fh.JSONObject
-
Put a key/boolean pair in the JSONObject.
- put(String, double) - Method in class org.json.fh.JSONObject
-
Put a key/double pair in the JSONObject.
- put(String, int) - Method in class org.json.fh.JSONObject
-
Put a key/int pair in the JSONObject.
- put(String, long) - Method in class org.json.fh.JSONObject
-
Put a key/long pair in the JSONObject.
- put(String, Map) - Method in class org.json.fh.JSONObject
-
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
- put(String, Object) - Method in class org.json.fh.JSONObject
-
Put a key/value pair in the JSONObject.
- putOpt(String, Object) - Method in class org.json.fh.JSONObject
-
Put a key/value pair in the JSONObject, but only if the
key and the value are both non-null.
- save(String) - Static method in class com.feedhenry.sdk.api.FHAuthSession
-
Deprecated.
please use com.feedhenry.sdk.api2.FHAuthSession.save instead
- save(String) - Method in class com.feedhenry.sdk.api2.FHAuthSession
-
Saves the seesionToken value on the device.
- save() - Method in class com.feedhenry.sdk.CloudProps
-
Saves the details of the cloud app to the device.
- save(String, String) - Method in class com.feedhenry.sdk.utils.DataManager
-
- sendPushMetrics(String, FHActCallback) - Static method in class com.feedhenry.sdk.FH
-
Sends confirmation a message was opened.
- SESSION_TOKEN_KEY - Static variable in class com.feedhenry.sdk.api.FHAuthSession
-
- SESSION_TOKEN_KEY - Static variable in class com.feedhenry.sdk.api2.FHAuthSession
-
- setAction(String) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setAlias(String) - Method in class com.feedhenry.sdk.PushConfig
-
- setArgs(JSONObject) - Method in class com.feedhenry.sdk.api.FHActRequest
-
Set the parameters for the cloud side function
- setAuthPolicyId(String) - Method in class com.feedhenry.sdk.api.FHAuthRequest
-
Sets the policy ID for this auth request.
- setAuthUser(String, String, String) - Method in class com.feedhenry.sdk.api.FHAuthRequest
-
Sets the user name for the auth request.
- setAutoSyncLocalUpdates(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should automatically update on local changes.
- setCallback(FHActCallback) - Method in interface com.feedhenry.sdk.FHAct
-
Deprecated.
Sets the callback function to be executed when the action is finished.
- setCallback(FHActCallback) - Method in class com.feedhenry.sdk.FHRemote
-
- setCallback(FHActCallback) - Method in interface com.feedhenry.sdk2.FHAct
-
Sets the callback function to be executed when the action is finished.
- setCallback(FHActCallback) - Method in class com.feedhenry.sdk2.FHRemote
-
- setCategories(List<String>) - Method in class com.feedhenry.sdk.PushConfig
-
- setContext(Context) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setCrashCountWait(int) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets the maximum crash count number.
- setCrashed(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setCrashedCount(int) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setData(JSONObject) - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- setDelayed(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setHashValue(String) - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- setHashValue(String) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setHeaders(Header[]) - Method in class com.feedhenry.sdk.api.FHCloudRequest
-
- setHttpProxy(HttpHost) - Static method in class com.feedhenry.sdk.FHHttpClient
-
Deprecated.
please use com.feedhenry.sdk2.FHHttpClient.setHttpProxy instead
- setHttpProxy(HttpHost) - Method in class com.feedhenry.sdk2.FHHttpClient
-
- setInFlight(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setInFlightDate(Date) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setInitialised(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setListener(FHSyncListener) - Method in class com.feedhenry.sdk.sync.FHSyncClient
-
Re-sets the sync listener.
- setLogLevel(int) - Static method in class com.feedhenry.sdk.FH
-
Sets the log level for the library.
- setMethod(FHCloudRequest.Methods) - Method in class com.feedhenry.sdk.api.FHCloudRequest
-
- setNotificationHandler(FHSyncNotificationHandler) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setNotifyClientStorageFailed(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a client storage failed event.
- setNotifyDeltaReceived(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a delta received event.
- setNotifyLocalUpdateApplied(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a local updates applied event.
- setNotifyOfflineUpdate(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on an offline update event.
- setNotifyRemoteUpdateApplied(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a remote updates applied event.
- setNotifySyncCollisions(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a sync collision event.
- setNotifySyncComplete(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a sync complete event.
- setNotifySyncFailed(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a sync failed event.
- setNotifySyncStarted(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on a sync start event.
- setNotifyUpdateFailed(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets if the sync client should notify on an update failed event.
- setPath(String) - Method in class com.feedhenry.sdk.api.FHCloudRequest
-
- setPostData(FHSyncDataRecord) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setPreData(FHSyncDataRecord) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setPresentingActivity(Context) - Method in class com.feedhenry.sdk.api.FHAuthRequest
-
If the auth policy type is OAuth, user need to enter their username and password for the OAuth provider.
- setQueryParams(JSONObject) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setRemoteAction(String) - Method in class com.feedhenry.sdk.api.FHActRequest
-
The name of the cloud side function
- setRequestArgs(JSONObject) - Method in class com.feedhenry.sdk.api.FHCloudRequest
-
- setResendCrashedUpdates(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets whether changes should be re-submitted once the crash limit is reached.
- setSyncConfig(FHSyncConfig) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setSyncFrequency(int) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Sets the sync interval in seconds.
- setSyncListener(FHSyncListener) - Method in class com.feedhenry.sdk.sync.FHSyncNotificationHandler
-
- setSyncPending(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setSyncRunning(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- setTimeout(int) - Static method in class com.feedhenry.sdk.FHHttpClient
-
Deprecated.
please use com.feedhenry.sdk2.FHHttpClient.setTimeout instead
- setTimeout(int) - Method in class com.feedhenry.sdk2.FHHttpClient
-
Set both the connection and socket timeouts.
- setTimestamp(long) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setUid(String) - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- setUid(String) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- setUseCustomSync(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncConfig
-
Set if legacy mode is used
- setWaitingFor(String) - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- skipPast(String) - Method in class org.json.fh.JSONTokener
-
Skip characters until past the requested string.
- skipTo(char) - Method in class org.json.fh.JSONTokener
-
Skip characters until the next character is the requested character.
- SLASH - Static variable in class org.json.fh.XML
-
The Character '/'.
- sortedKeys() - Method in class org.json.fh.JSONObject
-
- sortObj(JSONArray) - Static method in class com.feedhenry.sdk.sync.FHSyncUtils
-
- sortObj(JSONObject) - Static method in class com.feedhenry.sdk.sync.FHSyncUtils
-
- startSyncLoop() - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- stop() - Static method in class com.feedhenry.sdk.FH
-
- stop(String) - Method in class com.feedhenry.sdk.sync.FHSyncClient
-
Stops the sync process for dataset with id pDataId.
- stopSync(boolean) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- StringUtils - Class in com.feedhenry.sdk.utils
-
- StringUtils() - Constructor for class com.feedhenry.sdk.utils.StringUtils
-
- success(FHResponse) - Method in interface com.feedhenry.sdk.FHActCallback
-
Will be run if the action call is successful
- SYNC_COMPLETE_CODE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- SYNC_COMPLETE_MESSAGE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- SYNC_FAILED_CODE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- SYNC_FAILED_MESSAGE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- SYNC_STARTED_CODE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- SYNC_STARTED_MESSAGE - Static variable in class com.feedhenry.sdk.sync.NotificationMessage
-
- syncCompleteWithCode(String) - Method in class com.feedhenry.sdk.sync.FHSyncDataset
-
- syntaxError(String) - Method in class org.json.fh.JSONTokener
-
Make a JSONException to signal a syntax error.
- toJSONArray(String) - Static method in class org.json.fh.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
- toJSONArray(JSONTokener) - Static method in class org.json.fh.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
- toJSONArray(JSONArray, String) - Static method in class org.json.fh.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
- toJSONArray(JSONArray, JSONTokener) - Static method in class org.json.fh.CDL
-
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
- toJSONArray(JSONArray) - Method in class org.json.fh.JSONObject
-
Produce a JSONArray containing the values of the members of this
JSONObject.
- toJSONObject(String) - Static method in class org.json.fh.Cookie
-
Convert a cookie specification string into a JSONObject.
- toJSONObject(String) - Static method in class org.json.fh.CookieList
-
Convert a cookie list into a JSONObject.
- toJSONObject(String) - Static method in class org.json.fh.HTTP
-
Convert an HTTP header string into a JSONObject.
- toJSONObject(JSONArray) - Method in class org.json.fh.JSONArray
-
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
- toJSONObject(String) - Static method in class org.json.fh.XML
-
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject.
- toJSONString() - Method in interface org.json.fh.JSONString
-
The toJSONString method allows a class to produce its own JSON
serialization.
- toString() - Method in class com.feedhenry.sdk.sync.FHSyncDataRecord
-
- toString() - Method in class com.feedhenry.sdk.sync.FHSyncPendingRecord
-
- toString() - Method in class com.feedhenry.sdk.sync.NotificationMessage
-
- toString(JSONArray) - Static method in class org.json.fh.CDL
-
Produce a comma delimited text from a JSONArray of JSONObjects.
- toString(JSONArray, JSONArray) - Static method in class org.json.fh.CDL
-
Produce a comma delimited text from a JSONArray of JSONObjects using
a provided list of names.
- toString(JSONObject) - Static method in class org.json.fh.Cookie
-
Convert a JSONObject into a cookie specification string.
- toString(JSONObject) - Static method in class org.json.fh.CookieList
-
Convert a JSONObject into a cookie list.
- toString(JSONObject) - Static method in class org.json.fh.HTTP
-
Convert a JSONObject into an HTTP header.
- toString() - Method in class org.json.fh.JSONArray
-
Make a JSON text of this JSONArray.
- toString(int) - Method in class org.json.fh.JSONArray
-
Make a prettyprinted JSON text of this JSONArray.
- toString() - Method in class org.json.fh.JSONObject
-
Make a JSON text of this JSONObject.
- toString(int) - Method in class org.json.fh.JSONObject
-
Make a prettyprinted JSON text of this JSONObject.
- toString() - Method in class org.json.fh.JSONStringer
-
Return the JSON text.
- toString() - Method in class org.json.fh.JSONTokener
-
Make a printable string of this JSONTokener.
- toString(Object) - Static method in class org.json.fh.XML
-
Convert a JSONObject into a well-formed, element-normal XML string.
- toString(Object, String) - Static method in class org.json.fh.XML
-
Convert a JSONObject into a well-formed, element-normal XML string.
- toStringArray() - Method in class org.json.fh.JSONArray
-