ResourcesProvider.LoadFromTable(ParcelFileDescriptor, IAssetsProvider) Method

Definition

Creates a ResourcesProvider from a resources table (.arsc) file descriptor.

[Android.Runtime.Register("loadFromTable", "(Landroid/os/ParcelFileDescriptor;Landroid/content/res/loader/AssetsProvider;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)]
public static Android.Content.Res.Loader.ResourcesProvider LoadFromTable (Android.OS.ParcelFileDescriptor fileDescriptor, Android.Content.Res.Loader.IAssetsProvider? assetsProvider);
[<Android.Runtime.Register("loadFromTable", "(Landroid/os/ParcelFileDescriptor;Landroid/content/res/loader/AssetsProvider;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)>]
static member LoadFromTable : Android.OS.ParcelFileDescriptor * Android.Content.Res.Loader.IAssetsProvider -> Android.Content.Res.Loader.ResourcesProvider

Parameters

fileDescriptor
ParcelFileDescriptor

the file descriptor of the resources table to load

assetsProvider
IAssetsProvider

the assets provider that implements the loading of file-based resources

Returns

ResourcesProvider
Attributes

Remarks

Java documentation for android.content.res.loader.ResourcesProvider.loadFromTable(android.os.ParcelFileDescriptor, android.content.res.loader.AssetsProvider).

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