Language

PermissionMode Enum

Definition

Specifies file or directory access requested by a WebView file chooser.

public enum PermissionMode
type PermissionMode = 
Inheritance
PermissionMode

Fields

Name Value Description
Read 0

File or directory should be opened for reading only.

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

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.

ReadWrite 1

File or directory should be opened for read and write.

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

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.

Remarks

The values distinguish read access from read/write access. WebChromeClient.FileChooserParams.PermissionMode reports the requested mode.

Applies to