Android.OS.MemoryFile Members

The members of Android.OS.MemoryFile are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Allocates a new ashmem region.

Protected Constructors

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

Public Properties

[read-only]
InputStreamSystem.IO.Stream. Creates a new InputStream for reading from the memory file.
[read-only]
IsPurgingAllowedbool. Is memory file purging enabled?
[read-only]
OutputStreamSystem.IO.Stream. Creates a new OutputStream for writing to the memory 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

AllowPurging(bool) : bool
Enables or disables purging of the memory file.
Close()
Closes the memory file.
Length() : int
Returns the length of the memory file.
ReadBytes(byte[], int, int, int) : int
Reads bytes from the memory file.
WriteBytes(byte[], int, int, int)
Write bytes to the memory file.