Udostępnij za pośrednictwem


WebChromeClient.FileChooserParams.ParseResult(Int32, Intent) Method

Definition

Parse the result returned by the file picker activity.

[Android.Runtime.Register("parseResult", "(ILandroid/content/Intent;)[Landroid/net/Uri;", "")]
public static Android.Net.Uri[]? ParseResult (int resultCode, Android.Content.Intent data);
[<Android.Runtime.Register("parseResult", "(ILandroid/content/Intent;)[Landroid/net/Uri;", "")>]
static member ParseResult : int * Android.Content.Intent -> Android.Net.Uri[]

Parameters

resultCode
Int32

the integer result code returned by the file picker activity.

data
Intent

the intent returned by the file picker activity.

Returns

Uri[]

the Uris of selected file(s) or null if the resultCode indicates activity canceled or any other error.

Attributes

Remarks

Parse the result returned by the file picker activity. This method should be used with #createIntent. Refer to #createIntent for how to use it.

Java documentation for android.webkit.WebChromeClient.FileChooserParams.parseResult(int, android.content.Intent).

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