Android.Util.AtomicFile Members

The members of Android.Util.AtomicFile are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a new AtomicFile for a file located at the given File path.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
BaseFileJava.IO.File. Return the path to the base file.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Delete()
Delete the atomic file.
FailWrite(System.IO.Stream)
Call when you have failed for some reason at writing to the stream returned by AtomicFile.StartWrite.
FailWriteAsync(System.IO.Stream) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
FinishWrite(System.IO.Stream)
Call when you have successfully finished writing to the stream returned by AtomicFile.StartWrite.
FinishWriteAsync(System.IO.Stream) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
OpenRead() : System.IO.Stream
Open the atomic file for reading.
ReadFully() : byte[]
A convenience for AtomicFile.OpenRead that also reads all of the file contents into a byte array which is returned.
ReadFullyAsync() : System.Threading.Tasks.Task<Byte[]>
Documentation for this section has not yet been entered.
StartWrite() : System.IO.Stream
Start a new write operation on the file.
StartWriteAsync() : System.Threading.Tasks.Task<System.IO.Stream>
Documentation for this section has not yet been entered.