-
public class PreferenceOneSignalKeys
-
-
Field Summary
Fields Modifier and Type Field Description private final StringPREFS_LEGACY_APP_IDprivate final StringPREFS_LEGACY_PLAYER_IDprivate final StringPREFS_LEGACY_USER_SYNCVALUESprivate final StringPREFS_OS_LAST_LOCATION_TIMEprivate final StringPREFS_OS_LOCATION_SHAREDprivate final StringPREFS_OS_USER_RESOLVED_PERMISSION_PREFIXprivate final StringPREFS_OS_ETAG_PREFIXprivate final StringPREFS_OS_INSTALL_IDprivate final StringPREFS_OS_HTTP_CACHE_PREFIXprivate final StringPREFS_OS_UNATTRIBUTED_UNIQUE_OUTCOME_EVENTS_SENTprivate final StringPREFS_OS_CACHED_IAMSprivate final StringPREFS_OS_DISMISSED_IAMSprivate final StringPREFS_OS_IMPRESSIONED_IAMSprivate final StringPREFS_OS_CLICKED_CLICK_IDS_IAMSprivate final StringPREFS_OS_PAGE_IMPRESSIONED_IAMSprivate final StringPREFS_OS_IAM_LAST_DISMISSED_TIMEprivate final StringMODEL_STORE_PREFIXpublic final static PreferenceOneSignalKeysINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetPREFS_LEGACY_APP_ID()(String) The legacy app ID from SDKs prior to 5. final StringgetPREFS_LEGACY_PLAYER_ID()(String) The legacy player ID from SDKs prior to 5. final StringgetPREFS_LEGACY_USER_SYNCVALUES()(String) The legacy player sync values from SDKS prior to 5. final StringgetPREFS_OS_LAST_LOCATION_TIME()(Long) The last time the device location was captured, in Unix time milliseconds. final StringgetPREFS_OS_LOCATION_SHARED()(Boolean) Whether location should be shared with OneSignal. final StringgetPREFS_OS_USER_RESOLVED_PERMISSION_PREFIX()(Boolean) A prefix key for the permission state. final StringgetPREFS_OS_ETAG_PREFIX()(String) A prefix key for retrieving the ETAG for a given HTTP GET cache key. final StringgetPREFS_OS_INSTALL_ID()(String) A install id, a UUIDv4 generated once when app is first opened. final StringgetPREFS_OS_HTTP_CACHE_PREFIX()(String) A prefix key for retrieving the response for a given HTTP GET cache key. final StringgetPREFS_OS_UNATTRIBUTED_UNIQUE_OUTCOME_EVENTS_SENT()(String Set) The set of unattributed outcome events that have occurred to ensure uniqueness when requested. final StringgetPREFS_OS_CACHED_IAMS()(String) The serialized IAMs TODO: This isn't currently used, determine if actually needed for cold start IAM fetch delay final StringgetPREFS_OS_DISMISSED_IAMS()(String Set) The set of IAM IDs that have been dismissed on this device. final StringgetPREFS_OS_IMPRESSIONED_IAMS()(String Set) The set of IAM IDs that have impressed (displayed) on the device. final StringgetPREFS_OS_CLICKED_CLICK_IDS_IAMS()(String Set) The set of click IDs that the device has clicked on. final StringgetPREFS_OS_PAGE_IMPRESSIONED_IAMS()(String Set) The set of page IDs that have impressed (displayed) on the device. final StringgetPREFS_OS_IAM_LAST_DISMISSED_TIME()(Long) The last time an IAM was dismissed, in unix time milliseconds. final StringgetMODEL_STORE_PREFIX()(String) A prefix key for retrieving a specific model store contents. -
-
Method Detail
-
getPREFS_LEGACY_APP_ID
final String getPREFS_LEGACY_APP_ID()
(String) The legacy app ID from SDKs prior to 5.
-
getPREFS_LEGACY_PLAYER_ID
final String getPREFS_LEGACY_PLAYER_ID()
(String) The legacy player ID from SDKs prior to 5.
-
getPREFS_LEGACY_USER_SYNCVALUES
final String getPREFS_LEGACY_USER_SYNCVALUES()
(String) The legacy player sync values from SDKS prior to 5.
-
getPREFS_OS_LAST_LOCATION_TIME
final String getPREFS_OS_LAST_LOCATION_TIME()
(Long) The last time the device location was captured, in Unix time milliseconds.
-
getPREFS_OS_LOCATION_SHARED
final String getPREFS_OS_LOCATION_SHARED()
(Boolean) Whether location should be shared with OneSignal.
-
getPREFS_OS_USER_RESOLVED_PERMISSION_PREFIX
final String getPREFS_OS_USER_RESOLVED_PERMISSION_PREFIX()
(Boolean) A prefix key for the permission state. When true, the user has rejected this permission too many times and will not be prompted again.
-
getPREFS_OS_ETAG_PREFIX
final String getPREFS_OS_ETAG_PREFIX()
(String) A prefix key for retrieving the ETAG for a given HTTP GET cache key. The cache key should be appended to this prefix.
-
getPREFS_OS_INSTALL_ID
final String getPREFS_OS_INSTALL_ID()
(String) A install id, a UUIDv4 generated once when app is first opened. Value is for a HTTP header, OneSignal-Install-Id, added on all calls made to OneSignal's backend.
-
getPREFS_OS_HTTP_CACHE_PREFIX
final String getPREFS_OS_HTTP_CACHE_PREFIX()
(String) A prefix key for retrieving the response for a given HTTP GET cache key. The cache key should be appended to this prefix.
-
getPREFS_OS_UNATTRIBUTED_UNIQUE_OUTCOME_EVENTS_SENT
final String getPREFS_OS_UNATTRIBUTED_UNIQUE_OUTCOME_EVENTS_SENT()
(String Set) The set of unattributed outcome events that have occurred to ensure uniqueness when requested.
-
getPREFS_OS_CACHED_IAMS
final String getPREFS_OS_CACHED_IAMS()
(String) The serialized IAMs TODO: This isn't currently used, determine if actually needed for cold start IAM fetch delay
-
getPREFS_OS_DISMISSED_IAMS
final String getPREFS_OS_DISMISSED_IAMS()
(String Set) The set of IAM IDs that have been dismissed on this device.
-
getPREFS_OS_IMPRESSIONED_IAMS
final String getPREFS_OS_IMPRESSIONED_IAMS()
(String Set) The set of IAM IDs that have impressed (displayed) on the device.
-
getPREFS_OS_CLICKED_CLICK_IDS_IAMS
final String getPREFS_OS_CLICKED_CLICK_IDS_IAMS()
(String Set) The set of click IDs that the device has clicked on.
-
getPREFS_OS_PAGE_IMPRESSIONED_IAMS
final String getPREFS_OS_PAGE_IMPRESSIONED_IAMS()
(String Set) The set of page IDs that have impressed (displayed) on the device.
-
getPREFS_OS_IAM_LAST_DISMISSED_TIME
final String getPREFS_OS_IAM_LAST_DISMISSED_TIME()
(Long) The last time an IAM was dismissed, in unix time milliseconds.
-
getMODEL_STORE_PREFIX
final String getMODEL_STORE_PREFIX()
(String) A prefix key for retrieving a specific model store contents. The name of the model store should be appended to this prefix.
-
-
-
-