Language

WebChromeClient.FileChooserParams.PermissionMode Property

Definition

Returns permission mode #PERMISSION_MODE_READ or #PERMISSION_MODE_READ_WRITE which indicates the intended mode for opening a file or directory.

public virtual int PermissionMode { [Android.Runtime.Register("getPermissionMode", "()I", "GetGetPermissionModeHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getPermissionMode", "()I", "GetGetPermissionModeHandler", ApiSince=37)>]
member this.PermissionMode : int

Property Value

Value is one of the following: PERMISSION_MODE_READ; PERMISSION_MODE_READ_WRITE

Attributes

Remarks

Returns permission mode PERMISSION_MODE_READ or PERMISSION_MODE_READ_WRITE which indicates the intended mode for opening a file or directory. This can be used to determine whether an Intent such as Intent.ACTION_OPEN_DOCUMENT should be used rather than Intent.ACTION_GET_CONTENT to choose files.

Android reference for android.webkit.WebChromeClient.FileChooserParams.getPermissionMode.

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