Freigeben über


WebChromeClient.FileChooserParams.GetAcceptTypes Method

Definition

Returns an array of acceptable MIME types.

[Android.Runtime.Register("getAcceptTypes", "()[Ljava/lang/String;", "GetGetAcceptTypesHandler")]
public abstract string[]? GetAcceptTypes ();
[<Android.Runtime.Register("getAcceptTypes", "()[Ljava/lang/String;", "GetGetAcceptTypesHandler")>]
abstract member GetAcceptTypes : unit -> string[]

Returns

String[]
Attributes

Remarks

Returns an array of acceptable MIME types. The returned MIME type could be partial such as audio/*. The array will be empty if no acceptable types are specified.

Java documentation for android.webkit.WebChromeClient.FileChooserParams.getAcceptTypes().

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