Language

ContentProviderClient.OpenTypedAssetFile Method

Definition

Opens a typed asset file associated with a content URI.

[Android.Runtime.Register("openTypedAssetFile", "(Landroid/net/Uri;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/content/res/AssetFileDescriptor;", "", ApiSince=29)]
public Android.Content.Res.AssetFileDescriptor? OpenTypedAssetFile(Android.Net.Uri uri, string mimeTypeFilter, Android.OS.Bundle? opts, Android.OS.CancellationSignal? signal);
[<Android.Runtime.Register("openTypedAssetFile", "(Landroid/net/Uri;Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/content/res/AssetFileDescriptor;", "", ApiSince=29)>]
member this.OpenTypedAssetFile : Android.Net.Uri * string * Android.OS.Bundle * Android.OS.CancellationSignal -> Android.Content.Res.AssetFileDescriptor

Parameters

uri
Uri

This value cannot be null .

mimeTypeFilter
String

This value cannot be null .

opts
Bundle

This value may be null .

signal
CancellationSignal

This value may be null .

Returns

This value may be null .

Attributes

Remarks

Opens a typed asset file associated with a content URI.

Java documentation for android.content.ContentProviderClient.openTypedAssetFile(android.net.Uri, java.lang.String, android.os.Bundle, android.os.CancellationSignal).

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