- documentId
- the document to return.
- mode
- the mode to open with, such as 'r', 'w', or 'rw'.
- signal
- used by the caller to signal if the request should be cancelled. May be null.
Documentation for this section has not yet been entered.
Type Reason Java.IO.FileNotFoundException
Open and return the requested document.
Your provider should return a reliable Android.OS.ParcelFileDescriptor to detect when the remote caller has finished reading or writing the document. You may return a pipe or socket pair if the mode is exclusively "r" or "w", but complex modes like "rw" imply a normal file on disk that supports seeking.
If you block while downloading content, you should periodically check Android.OS.CancellationSignal.IsCanceled to abort abandoned open requests.