- file
- The file to be opened.
- mode
- The desired access mode, must be one of ParcelFileDescriptor.MODE_READ_ONLY, ParcelFileDescriptor.MODE_WRITE_ONLY, or ParcelFileDescriptor.MODE_READ_WRITE; may also be any combination of ParcelFileDescriptor.MODE_CREATE, ParcelFileDescriptor.MODE_TRUNCATE, ParcelFileDescriptor.MODE_WORLD_READABLE, and ParcelFileDescriptor.MODE_WORLD_WRITEABLE.
Documentation for this section has not yet been entered.
Type Reason Java.IO.FileNotFoundException if the given file does not exist or can not be opened with the requested mode.
Create a new ParcelFileDescriptor accessing a given file.