SynchronizationEngineHost Class |
Namespace: Oracle.Cloud.Mobile.Synchronization
The SynchronizationEngineHost type exposes the following members.
Name | Description | |
---|---|---|
![]() | SynchronizationEngineHost | Initializes a new instance of the SynchronizationEngineHost class |
Name | Description | |
---|---|---|
![]() | AuthorizedUserName |
Returns the name of the logged in user, null if there is no logged in user.
|
![]() | BackendName |
The name of the associated MobileBackend.
|
![]() | BatchModeEnabled |
Returns true if batch mode is to be enabled which reduces the number of calls to the cloud on startup and when the
device comes online.
|
![]() | DataFolder |
Returns the path to the folder to store cached data.
|
![]() | DeviceState |
Property that returns the current DeviceState.
|
![]() | DisableBackgroundRefresh |
If true disables background refreshes by the synchronization engine, defaults to false. Should be rarely required.
|
![]() | IsAuthorized |
Returns whether there is a logged in user or not.
|
![]() | IsOnline |
Property that returns whether the device is online or not.
|
![]() | TempFolder |
Returns the path to the temp folder to use.
|
Name | Description | |
---|---|---|
![]() | CreateFolderAsync |
Method to create a sub-folder inside a parent. Should not fail if the folder does not already exist.
|
![]() | CreateHttpClient |
Creates a new instance of an HttpClient, configured with the right auth and other headers and the BaseUri to be used to call into the cloud.
|
![]() | DecryptStreamAsync |
Decrypts a stream previous encrypted by calling EncryptStreamAsync.
|
![]() | DeleteFileAsync |
Method to delete a file if it exists. Should not fail if the file does not exist.
|
![]() | DeleteFolderAsync |
Method to delete a folder if it exists. Should not fail if the folder does not exist.
|
![]() | DoesFileExistAsync |
Method to check whether a file exists in a folder.
|
![]() | EncryptStreamAsync |
Encrypts a stream.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetFolderSizeAsync |
Returns the size of a folder and all nested sub-folders.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LogError |
Generates an error level log message.
|
![]() | LogInfo |
Generates an info level log message.
|
![]() | LogVerbose |
Generates a verbose level log message.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnLoggedInUserChanged |
Method to raise the an event when a user logs in or logs out.
|
![]() | OnOnlineStatusChanged |
Method to raise the an event when the device online status changes.
|
![]() | OpenSQLiteConnection |
Method to open a new SQLite connection.
|
![]() | ReadFromFileAsync |
Reads the contents of file asynchronously if it exists.
|
![]() | ThreadPoolRunAsync |
Executes a callback on the system threadpool.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteToFileAsync |
Writes the contents of a stream to a file asynchronously.
|