Språk

WebChromeClient.FileChooserParams.PermissionMode Property

Definition

Gets the permission mode requested 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

The integer value for the requested mode, corresponding to Read or ReadWrite.

Attributes

Remarks

The permission mode indicates whether the request is for read-only access or for read and write access. Use it to determine whether an ActionOpenDocument intent should be used rather than an ActionGetContent intent 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