Android.OS.ParcelFileMode Enumeration
Enumerates values returned by several types and taken as a parameter of the ParcelFileDescriptor.Open, and ParcelFileDescriptor.Open members.

Syntax

public enum ParcelFileMode

Remarks

Enumerates values returned by the following: and taken as a parameter of the ParcelFileDescriptor.Open, and ParcelFileDescriptor.Open members.

Members

Member NameDescription
AppendFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): append to end of file while writing.
CreateFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): create the file if it doesn't already exist.
ReadOnlyFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): open the file with read-only access.
ReadWriteFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): open the file with read and write access.
TruncateFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): erase contents of file when opening.
WorldReadableFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): if ParcelFileMode.Create has been supplied and this file doesn't already exist, then create the file with permissions such that any application can read it.
WorldWriteableFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): if ParcelFileMode.Create has been supplied and this file doesn't already exist, then create the file with permissions such that any application can write it.
WriteOnlyFor use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode): open the file with write-only access.

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0