Preferences.ImportPreferencesAsync(Stream) Method

Definition

Asynchronously imports all preferences represented by the XML document on the specified input stream.

public static System.Threading.Tasks.Task ImportPreferencesAsync(System.IO.Stream? is);
static member ImportPreferencesAsync : System.IO.Stream -> System.Threading.Tasks.Task

Parameters

is
Stream

The input stream from which to read the XML document.

Returns

A task that represents the asynchronous import operation.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to