Android.OS.ParcelFileDescriptor.ParseMode Method
Converts a string representing a file mode, such as "rw", into a bitmask suitable for use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode).

Syntax

[Android.Runtime.Register("parseMode", "(Ljava/lang/String;)I", "")]
[return:Android.Runtime.GeneratedEnum]
public static ParcelFileMode ParseMode (string mode)

Parameters

mode
The string representation of the file mode.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the given string does not match a known file mode.

Remarks

Converts a string representing a file mode, such as "rw", into a bitmask suitable for use with ParcelFileDescriptor.Open(Java.IO.File, Android.OS.ParcelFileMode).

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1