Package com.zendesk.sdk.storage
Class StorageModule
- java.lang.Object
-
- com.zendesk.sdk.storage.StorageModule
-
public class StorageModule extends java.lang.Object
Module for holding instances of all SDK storage, configured for the recentApplicationScope
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description HelpCenterSessionCache
getHelpCenterSessionCache()
Gets an instance ofHelpCenterSessionCache
IdentityStorage
getIdentityStorage()
Gets an instance ofIdentityStorage
PushRegistrationResponseStorage
getPushRegistrationResponseStorage()
Return an implementation ofPushRegistrationResponseStorage
.RequestSessionCache
getRequestSessionCache()
Gets an instance ofRequestSessionCache
RequestStorage
getRequestStorage()
Gets an instance ofRequestStorage
SdkSettingsStorage
getSdkSettingsStorage()
Gets in instance ofSdkSettingsStorage
SdkStorage
getSdkStorage()
Gets an instance ofSdkStorage
-
-
-
Method Detail
-
getSdkStorage
public SdkStorage getSdkStorage()
Gets an instance ofSdkStorage
- Returns:
- an
SdkStorage
-
getIdentityStorage
public IdentityStorage getIdentityStorage()
Gets an instance ofIdentityStorage
- Returns:
- an
IdentityStorage
-
getRequestStorage
public RequestStorage getRequestStorage()
Gets an instance ofRequestStorage
- Returns:
- an
RequestStorage
-
getSdkSettingsStorage
public SdkSettingsStorage getSdkSettingsStorage()
Gets in instance ofSdkSettingsStorage
- Returns:
- an
SdkSettingsStorage
-
getHelpCenterSessionCache
public HelpCenterSessionCache getHelpCenterSessionCache()
Gets an instance ofHelpCenterSessionCache
- Returns:
- an
HelpCenterSessionCache
-
getRequestSessionCache
public RequestSessionCache getRequestSessionCache()
Gets an instance ofRequestSessionCache
- Returns:
- an
RequestSessionCache
-
getPushRegistrationResponseStorage
public PushRegistrationResponseStorage getPushRegistrationResponseStorage()
Return an implementation ofPushRegistrationResponseStorage
. This is used internally by the Zendesk SDK to prevent duplicate registration calls.- Returns:
- an instance of
PushRegistrationResponseStorage
-
-