Package com.zendesk.sdk.storage
Class StorageModule
- java.lang.Object
-
- com.zendesk.sdk.storage.StorageModule
-
public class StorageModule extends java.lang.ObjectModule 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 HelpCenterSessionCachegetHelpCenterSessionCache()Gets an instance ofHelpCenterSessionCacheIdentityStoragegetIdentityStorage()Gets an instance ofIdentityStoragePushRegistrationResponseStoragegetPushRegistrationResponseStorage()Return an implementation ofPushRegistrationResponseStorage.RequestSessionCachegetRequestSessionCache()Gets an instance ofRequestSessionCacheRequestStoragegetRequestStorage()Gets an instance ofRequestStorageSdkSettingsStoragegetSdkSettingsStorage()Gets in instance ofSdkSettingsStorageSdkStoragegetSdkStorage()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
-
-