Click or drag to resize
MobileFileSaveAsync Method (Stream, String, Boolean)
Saves any changes to the file back to the service. If saveIfOffline is true, it will cache the changes incase of offline.

Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpoint
Assemblies:  Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
  Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public Task SaveAsync(
	Stream dataStream,
	string contentType,
	bool saveIfOffline
)

Parameters

dataStream
Type: System.IOStream
The stream whose contents are to be saved.
contentType
Type: SystemString
The media type of the stream.
saveIfOffline
Type: SystemBoolean
If true will cache updates locally and sync them back to the service if the device is offline, if false will fail if the device is offline.

Return Value

Type: Task
An awaitable object.
See Also