Share via


FileProvider Class

Definition

Android FileProvider implementation for creating Content URIs to share files with other applications.

[Android.App.MetaData("android.support.FILE_PROVIDER_PATHS", Resource="@xml/xamarin_essentials_fileprovider_file_paths")]
[Android.Content.ContentProvider(new System.String[] { "${applicationId}.fileProvider" }, Exported=false, GrantUriPermissions=true, Name="xamarin.essentials.fileProvider")]
public class FileProvider : AndroidX.Core.Content.FileProvider
Inheritance
AndroidX.Core.Content.FileProvider
FileProvider
Attributes
Android.App.MetaDataAttribute Android.Content.ContentProviderAttribute

Constructors

FileProvider()

Default constructor.

Properties

TemporaryLocation

Gets or sets the temporary location for file sharing.

Applies to