ParcelFileMode Enum

Definition

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

public enum ParcelFileMode
type ParcelFileMode = 
Inheritance
ParcelFileMode

Fields

Append 33554432

For use with Open(File, ParcelFileMode): append to end of file while writing.

Create 134217728

For use with Open(File, ParcelFileMode): create the file if it doesn't already exist.

ReadOnly 268435456

For use with Open(File, ParcelFileMode): open the file with read-only access.

ReadWrite 805306368

For use with Open(File, ParcelFileMode): open the file with read and write access.

Truncate 67108864

For use with Open(File, ParcelFileMode): erase contents of file when opening.

WorldReadable 1
WorldWriteable 2
WriteOnly 536870912

For use with Open(File, ParcelFileMode): open the file with write-only access.

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