ORABaseConfigKeys Class Reference

Static Public Attributes

static final String  ENABLED = "ora_dc_enabled"
static final String  SEND_UNIQUE_ID_ENABLED = "ora_dc_send_unique_id_enabled"
static final String  MAX_PERSISTED_EVENTS = "ora_dc_event_table_size_maximum"
static final String  SEND_INTERVAL_MILLIS = "ora_dc_send_interval_millis"
static final String  AUTO_SEND_THRESHOLD_PERCENT = "ora_dc_auto_send_threshold_percent"
static final String  EVENTS_PER_SEND = "ora_dc_event_send_maximum"
static final String  END_POINT_CONFIG = "ora_dc_end_point_config"
static final String  DEBUG = "ora_dc_debug"
static final String  HTTP_CONNECT_TIMEOUT_MILLIS = "ora_dc_http_connect_timeout_millis"
static final String  HTTP_READ_TIMEOUT_MILLIS = "ora_dc_http_read_timeout_millis"
static final String  BATTERY_CHECK_MILLIS = "ora_dc_battery_check_millis"
static final String  BATTERY_MIN_CHG_PERCENT = "ora_dc_battery_min_charge_percent"
static final String  REFERRER_CHECK_TIMEOUT_MILLIS = "ora_dc_referrer_check_timeout_millis"
static final String  MAX_SESSION_MILLIS = "ora_dc_max_session_millis"
static final String  SESSION_TIMEOUT_MILLIS = "ora_dc_session_timeout_millis"
static final String  APP_NAME = "ora_dc_app_name"
static final String  APP_VERSION = "ora_dc_app_version"
static final String  ONLY_SEND_OVER_WIFI = "ora_dc_only_send_over_wifi"
static final String  REPORT_LOCATION_ENABLED = "ora_dc_report_location_enabled"
static final String  MASK_IP_ENABLED = "ora_dc_mask_ip_enabled"
static final String  EXTRA_PARAMS = "ora_dc_extra_params"
static final String  IMMEDIATE_EVENT_STORING_ENABLED = "ora_dc_immediate_event_storing_enabled"
static final String  APP_START_AUTO_ENABLED = "ora_dc_app_start_auto_enabled"
static final String  ERROR_AUTO_ENABLED = "ora_dc_error_auto_enabled"
static final String  ACTIVITY_AUTO_ENABLED = "ora_dc_activity_auto_enabled"
static final String  FRAGMENT_AUTO_ENABLED = "ora_dc_fragment_auto_enabled"
static final String  PUSH_AUTO_ENABLED = "ora_dc_push_auto_enabled"
static final String  FOREGROUND_AUTO_ENABLED = "ora_dc_foreground_auto_enabled"
static final String  SEND_SCREEN_VIEW_WITH_ACTIVITY_VIEW_ENABLED = "ora_dc_send_screen_view_with_activity_view_enabled"
static final String  HTTP_THREAD_COUNT = "ora_dc_http_thread_count"
static final String  HTTP_BACKGROUND_TASK_ENABLED = "ora_dc_http_background_task_enabled"

Detailed Description

ORABaseConfigKeys contains a list of constants that may be used when reading or setting configuration values.

Member Data Documentation

◆ ACTIVITY_AUTO_ENABLED

final String ACTIVITY_AUTO_ENABLED = "ora_dc_activity_auto_enabled"
static
  • Description: Controls whether or not activity lifecycle events will be logged automatically. See the [Automatic Events Guide][AutoEvents] for more details on automatic events.
  • String Literal: ora_dc_activity_auto_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ APP_NAME

final String APP_NAME = "ora_dc_app_name"
static
  • Description: Contains the application name of your app. If present, this value will be used in lieu of context.getApplicationInfo().labelRes
  • String Literal: ora_dc_app_name
  • Default Value: none
  • Acceptable Values: string — Any string

◆ APP_START_AUTO_ENABLED

final String APP_START_AUTO_ENABLED = "ora_dc_app_start_auto_enabled"
static
  • Description: Enable/Disable polling of the Oracle Remote Configuration Service(RCS)
  • String Literal: ora_dc_rcs_enabled
  • Default Value: "false"
  • Acceptable Values: boolean as a string — "true" or "false"
  • Description: Contains the URL for the Oracle Remote Configuration Service (RCS) server.
  • String Literal: ora_dc_rcs_url_base
  • Default Value: TODO: addRequest default value of the RCS server
  • Acceptable Values: string — A valid URL string including the protocol (http:// or https://)
  • Description: Controls how often (in milliseconds) the Oracle RCS service is polled for changes.
  • String Literal: ora_dc_rcs_poll_interval_millis
  • Default Value: "43200000" (12 hours)
  • Acceptable Values: integer as a string* — representation of an integer >= "3600000" (One hour)
  • Description: Controls whether or not app start and terminate events will be logged automatically. See the [Automatic Events Guide][AutoEvents] for more details on automatic events.
  • String Literal: ora_dc_app_start_auto_enabled
  • Default Value: "true"
  • Acceptable Values: *boolean as a string — "true" or "false"

◆ APP_VERSION

final String APP_VERSION = "ora_dc_app_version"
static
  • Description: Contains the application version of your app. If present, this value will be used in lieu of context.getPackageManager().getPackageInfo(context.getPackageName())
  • String Literal: ora_dc_app_version
  • Default Value: none
  • Acceptable Values: string — Any string

◆ AUTO_SEND_THRESHOLD_PERCENT

final String AUTO_SEND_THRESHOLD_PERCENT = "ora_dc_auto_send_threshold_percent"
static
  • Description: Percentage of the event store capacity (defined in the Max Persisted Events configuration setting) at which events will be automatically sent to the data collection servers. This setting expects an integer from 0 to 100, inclusive.
  • String Literal: ora_dc_auto_send_threshold_percent
  • Default Value: "80"
  • Acceptable Values: integer as a string — (an integer from "0" to "100", inclusive)

◆ BATTERY_CHECK_MILLIS

final String BATTERY_CHECK_MILLIS = "ora_dc_battery_check_millis"
static
  • Description: Controls how often (in milliseconds) the battery should be checked for sufficient capacity to transmit events to data collection. In an Android environment, checking the battery can in itself drain the battery further. For this reason, this setting should be set sufficiently high to avoid undue battery use.
  • String Literal: ora_dc_battery_check_millis
  • Default Value: "300000" (5 minutes)
  • Acceptable Values: integer as a string — (Any valid positive integer value)

◆ BATTERY_MIN_CHG_PERCENT

final String BATTERY_MIN_CHG_PERCENT = "ora_dc_battery_min_charge_percent"
static
  • Description: Controls at what battery level to stop event transmission. When the battery level falls below this level, event transmission to the data collection servers is disabled. After Android reports that battery power is restored to a level above this threshold, event transmission will resume.
  • String Literal: ora_dc_battery_min_charge_percent
  • Default Value: "20"
  • Acceptable Values: integer as a string — representation of any integer between "0" and "100", inclusive.

◆ DEBUG

final String DEBUG = "ora_dc_debug"
static
  • Description: Enables or disables debug logging for the SDK. When enabled, event transmission and SDK state information will be printed to the console.
  • String Literal: ora_dc_debug
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"
Deprecated:
It is deprecated and and will be removed in future releases, instead use ORALogger to enable or disable the logs

◆ ENABLED

final String ENABLED = "ora_dc_enabled"
static
  • Description: Enables or disables event collection and transmission in the SDK.
  • String Literal: ora_dc_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"
    Attention: If this config setting is set to 'false', then the SDK will no longer collect events, store events, send events to servers.

◆ END_POINT_CONFIG

final String END_POINT_CONFIG = "ora_dc_end_point_config"
static
  • Description: The collection end point config data. The config data should be the valid JSON array format.
  • String Literal: ora_dc_end_point_config
  • Default Value: []
  • Acceptable Values: A valid JSON array string in the below format [{ "ora_dc_collection_url": "https://dc.oracleinfinity.io/v3/", "ora_dc_account_guid": "horuts00i6", "ora_dc_retry_count": "2" }] ora_dc_collection_url: a valid URL string including the protocol(http:// or https://) ora_dc_account_guid: Account GUID string ora_dc_retry_count: Retry count if any error occurs 'ora_dc_collection_url' & 'ora_dc_account_guid' are mandatory fields. Other fields if you don't pass default values will be taken.

◆ ERROR_AUTO_ENABLED

final String ERROR_AUTO_ENABLED = "ora_dc_error_auto_enabled"
static
  • Description: Controls whether or not application error events will be logged automatically. See the [Automatic Events Guide][AutoEvents] for more details on automatic events.
  • String Literal: ora_dc_error_auto_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ EVENTS_PER_SEND

final String EVENTS_PER_SEND = "ora_dc_event_send_maximum"
static
  • Description: Events are collected and sent in batches to the data collection servers. This setting controls the number of events to send in a single batch.
  • String Literal: ora_dc_event_send_maximum
  • Default Value: "250"
  • Acceptable Values: integer as a string — (an integer from "1" to "250", inclusive)

◆ EXTRA_PARAMS

final String EXTRA_PARAMS = "ora_dc_extra_params"
static

Extra key/value pairs (parameters) that are passed as part of the payload of every event.

  • Description: If set, these key/value pairs will be sent along with every event. Format the query parameters as valid JSON e.g.: {foo:bar,fee:fum}. You may alternatively use quoted strings {"foo":"bar","fee":"fum"}, but the quotes will be ignored when read from the config settings. If you will be using complex strings, such as those containing spaces, you must escape-quote the strings: {\"This string\\":\"contains multiple words, separated by spaces\\","fee":"fum"}.
  • String Literal: ora_dc_extra_params
  • Default Value: empty string
  • Acceptable Values: comma separated key=value string formatted as JSON {"key1":"value1","key2":"value2",...}
    Attention: If values are set in this setting and key/value pairs with the same keys (name collision) are passed in using the ORAConfigSetting.EXTRA_PARAMS.setValue() method: parameter, the customParams will take precedence over values in this setting.
  • Note: All keys in key-value pairs will be cast to lower case automatically. The values will remain in the case in which they are set.

◆ FOREGROUND_AUTO_ENABLED

final String FOREGROUND_AUTO_ENABLED = "ora_dc_foreground_auto_enabled"
static
  • Description: Controls whether or not app foreground and background events will be logged automatically. See the [Automatic Events Guide][AutoEvents] for more details on automatic events.
  • String Literal: ora_dc_foreground_auto_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ FRAGMENT_AUTO_ENABLED

final String FRAGMENT_AUTO_ENABLED = "ora_dc_fragment_auto_enabled"
static
  • Description: Controls whether or not fragment lifecycle events will be logged automatically. See the [Automatic Events Guide][AutoEvents] for more details on automatic events.
  • String Literal: ora_dc_fragment_auto_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ HTTP_BACKGROUND_TASK_ENABLED

final String HTTP_BACKGROUND_TASK_ENABLED = "ora_dc_http_background_task_enabled"
static
  • Description: Controls whether or not http requests are processed when application is in background.
  • String Literal: ora_dc_http_background_task_enabled
  • Default Value: "false"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ HTTP_CONNECT_TIMEOUT_MILLIS

final String HTTP_CONNECT_TIMEOUT_MILLIS = "ora_dc_http_connect_timeout_millis"
static
  • Description: Controls the maximum amount of time (in milliseconds) to pass before abandoning a Oracle SDK-related HTTP request.
  • String Literal: ora_dc_http_connect_timeout_millis
  • Default Value: "10000"
  • Acceptable Values: integer as a string — (any valid positive integer value)

◆ HTTP_READ_TIMEOUT_MILLIS

final String HTTP_READ_TIMEOUT_MILLIS = "ora_dc_http_read_timeout_millis"
static
  • Description: Controls the maximum amount of time to wait (in milliseconds) for a response from a Oracle SDK-related HTTP connection.
  • String Literal: ora_dc_http_read_timeout_millis
  • Default Value: "30000"
  • Acceptable Values: integer as a string — (any valid positive integer value)

◆ HTTP_THREAD_COUNT

final String HTTP_THREAD_COUNT = "ora_dc_http_thread_count"
static
  • Description: The maximum number of threads to be created for handling http requests. If more requests than the number of threads, the remaining requests will be queued and executed after the current process
  • String Literal: ora_dc_http_thread_count
  • Default Value: "2" ` * * Acceptable Values: integer as a string — (any valid positive integer value ranges from 1 to 15)

◆ IMMEDIATE_EVENT_STORING_ENABLED

final String IMMEDIATE_EVENT_STORING_ENABLED = "ora_dc_immediate_event_storing_enabled"
static
  • Description: Enable/Disable immediate event storing. When set to 'true' (enabled), the event is storing in database when internet connection is missing or battery level is low. When set to 'false' (disabled), the event should not be saved in database and should be sent immediately. To trigger event immediate need to call ORABaseDataCollector.getInstance(getContext()).triggerEventImmediately(...) method.
  • String Literal: ora_dc_immediate_event_storing_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ MASK_IP_ENABLED

final String MASK_IP_ENABLED = "ora_dc_mask_ip_enabled"
static
  • Description: Enable/Disable masking the IP address of the mobile client. When set to 'true' (enabled), the dcsipa parameter will be set to "1" on every event. The collection servers use this setting to mask the IP address. For IPv4, only the first three octets will be recorded, with the last octet set to 000. For IPv6, the last octet will also be set to 0.
  • String Literal: ora_dc_mask_ip_enabled
  • Default Value: "false"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ MAX_PERSISTED_EVENTS

final String MAX_PERSISTED_EVENTS = "ora_dc_event_table_size_maximum"
static
  • Description: The maximum number of events to store locally on the device. If new events are generated while the event store is full, the oldest events will be permanently deleted.
  • String Literal: ora_dc_event_table_size_maximum
  • Default Value: "5000"
  • Acceptable Values: integer as a string — (Any valid positive integer value)

◆ MAX_SESSION_MILLIS

final String MAX_SESSION_MILLIS = "ora_dc_max_session_millis"
static
  • Description: Controls the maximum amount of time (in milliseconds) to wait before forcing a new session to start.
  • String Literal: ora_dc_max_session_millis
  • Default Value: "28800000" (8 hours)
  • Acceptable Values: integer as a string — (any valid positive integer value)

◆ ONLY_SEND_OVER_WIFI

final String ONLY_SEND_OVER_WIFI = "ora_dc_only_send_over_wifi"
static
  • Description: Controls whether events are sent when wifi is unavailable.
  • String Literal: ora_dc_only_send_over_wifi
  • Default Value: "false"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ PUSH_AUTO_ENABLED

final String PUSH_AUTO_ENABLED = "ora_dc_push_auto_enabled"
static
  • Description: Controls whether or not push notification events will be logged automatically. See the [Automatic Events Guide][AutoEvents] for more details on automatic events.
  • String Literal: ora_dc_push_auto_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ REFERRER_CHECK_TIMEOUT_MILLIS

final String REFERRER_CHECK_TIMEOUT_MILLIS = "ora_dc_referrer_check_timeout_millis"
static
  • Description: Specifies how long (in milliseconds) the data collector will wait for the Android Play Store to send the REFERRER after application installation and launch.
  • Default Value: "5000" (5 seconds)
  • Acceptable Values: *integer as a string* — representation of an integer

◆ REPORT_LOCATION_ENABLED

final String REPORT_LOCATION_ENABLED = "ora_dc_report_location_enabled"
static
  • Description: When enabled (and CoreLocation services in the application are enabled), sends geo location coordinates with every event. In order to receive location updates from NETWORK_PROVIDER or GPS_PROVIDER, you must request user permission by declaring either the ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission, respectively, in your Android manifest file. The SDK will not request authorization unilaterally. It will only use this information if it is already authorized in your application.
  • String Literal: ora_dc_report_location_enabled
  • Default Value: "false"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ SEND_INTERVAL_MILLIS

final String SEND_INTERVAL_MILLIS = "ora_dc_send_interval_millis"
static
  • Description: Time (in milliseconds) between stored events being transmitted to the data collection servers. If no events are queued, nothing is transmitted and a new send event is scheduled.
  • String Literal: ora_dc_send_interval_millis
  • Default Value: "60000"
  • Acceptable Values: integer as a string — (any valid positive integer value)

◆ SEND_SCREEN_VIEW_WITH_ACTIVITY_VIEW_ENABLED

final String SEND_SCREEN_VIEW_WITH_ACTIVITY_VIEW_ENABLED = "ora_dc_send_screen_view_with_activity_view_enabled"
static
  • Description: Enable/Disable sending a screen View event along with every automatic activity event. This only applies when automatic events are enabled.
  • String Literal: ora_dc_send_screen_view_with_activity_view_enabled
  • Default Value: "false"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ SEND_UNIQUE_ID_ENABLED

final String SEND_UNIQUE_ID_ENABLED = "ora_dc_send_unique_id_enabled"
static
  • Description: Controls whether or not a unique ID (from the device) is sent along with every event.
  • String Literal: ora_dc_send_unique_id_enabled
  • Default Value: "true"
  • Acceptable Values: boolean as a string — "true" or "false"

◆ SESSION_TIMEOUT_MILLIS

final String SESSION_TIMEOUT_MILLIS = "ora_dc_session_timeout_millis"
static
  • Description: Controls the maximum amount of time (in milliseconds) since the last event before forcing a new session to start.
  • String Literal: ora_dc_session_timeout_millis
  • Default Value: "1800000" (30 minutes)
  • Acceptable Values: integer as a string — (any valid positive integer value)

 

The documentation for this class was generated from the following file:
  • ORABaseConfigKeys.java