MobileFileSaveAsync Method (IInputStream, String) |
Saves any changes to the object back to the service. Caches the changes locally if offline.
Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpointAssembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic Task SaveAsync(
IInputStream dataStream,
string contentType
)
Public Function SaveAsync (
dataStream As IInputStream,
contentType As String
) As Task
public:
Task^ SaveAsync(
IInputStream^ dataStream,
String^ contentType
)
member SaveAsync :
dataStream : IInputStream *
contentType : string -> Task
Parameters
- dataStream
- Type: Windows.Storage.StreamsIInputStream
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