AtomicFile.OpenRead Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Open the atomic file for reading.
[Android.Runtime.Register("openRead", "()Ljava/io/FileInputStream;", "GetOpenReadHandler")]
public virtual System.IO.Stream? OpenRead ();
[<Android.Runtime.Register("openRead", "()Ljava/io/FileInputStream;", "GetOpenReadHandler")>]
abstract member OpenRead : unit -> System.IO.Stream
override this.OpenRead : unit -> System.IO.Stream
Returns
- Attributes
Exceptions
Remarks
Open the atomic file for reading. You should call close() on the FileInputStream when you are done reading from it.
You must do your own threading protection for access to AtomicFile.
Java documentation for android.util.AtomicFile.openRead()
.
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.