SFSDKFetchMode Constants Reference
Declared in | SFMobileSyncConstants.h |
---|
SFSDKFetchMode
Enum for available MobileSync data fetch modes.
SFSDKFetchModeCacheOnly - Fetches data from the cache and returns null if no data is available. SFSDKFetchModeCacheFirst - Fetches data from the cache and falls back on the server if no data is available. SFSDKFetchModeServerFirst - Fetches data from the server and falls back on the cache if the server doesn’t return data. The data fetched from the server is automatically cached.
Definition
typedef NS_ENUM(NSInteger, SFSDKFetchMode ) {
SFSDKFetchModeCacheOnly = 0,
SFSDKFetchModeCacheFirst,
SFSDKFetchModeServerFirst,
};
Constants
SFSDKFetchModeCacheOnly
-
Enum for available MobileSync data fetch modes.
Declared In
SFMobileSyncConstants.h
. SFSDKFetchModeCacheFirst
-
Enum for available MobileSync data fetch modes.
Declared In
SFMobileSyncConstants.h
. SFSDKFetchModeServerFirst
-
Enum for available MobileSync data fetch modes.
Declared In
SFMobileSyncConstants.h
.
Declared In
SFMobileSyncConstants.h