MobileFileSaveAsync Method (Stream, String) |
Saves any changes to the object back to the service. Caches the changes locally if offline.
Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpointAssemblies: 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)
Syntaxpublic Task SaveAsync(
Stream dataStream,
string contentType
)
Public Function SaveAsync (
dataStream As Stream,
contentType As String
) As Task
public:
Task^ SaveAsync(
Stream^ dataStream,
String^ contentType
)
member SaveAsync :
dataStream : Stream *
contentType : string -> Task
Parameters
- dataStream
- Type: System.IOStream
The stream whose contents are to be saved. - contentType
- Type: SystemString
The media type of the stream.
Return Value
Type:
TaskAn awaitable object.
See Also