Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.v4.provider\n\nadded in [version 22.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.v4.provider\n===========================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DocumentFile](/reference/android/support/v4/provider/DocumentFile) | Representation of a document backed by either a [DocumentsProvider](https://developer.android.com/reference/android/provider/DocumentsProvider.html) or a raw file on disk. |\n| [FontRequest](/reference/android/support/v4/provider/FontRequest) | Information about a font request that may be sent to a Font Provider. |\n| [FontsContractCompat](/reference/android/support/v4/provider/FontsContractCompat) | Utility class to deal with Font ContentProviders. |\n| [FontsContractCompat.Columns](/reference/android/support/v4/provider/FontsContractCompat.Columns) | Defines the constants used in a response from a Font Provider. |\n| [FontsContractCompat.FontFamilyResult](/reference/android/support/v4/provider/FontsContractCompat.FontFamilyResult) | Object returned from [fetchFonts(Context, CancellationSignal, FontRequest)](/reference/android/support/v4/provider/FontsContractCompat#fetchFonts(android.content.Context, android.os.CancellationSignal, android.support.v4.provider.FontRequest)). |\n| [FontsContractCompat.FontInfo](/reference/android/support/v4/provider/FontsContractCompat.FontInfo) | Object represent a font entry in the family returned from [fetchFonts(Context, CancellationSignal, FontRequest)](/reference/android/support/v4/provider/FontsContractCompat#fetchFonts(android.content.Context, android.os.CancellationSignal, android.support.v4.provider.FontRequest)). |\n| [FontsContractCompat.FontRequestCallback](/reference/android/support/v4/provider/FontsContractCompat.FontRequestCallback) | Interface used to receive asynchronously fetched typefaces. |\n\n-\n\n Classes\n -------\n\n - [DocumentFile](/reference/android/support/v4/provider/DocumentFile)\n - [FontRequest](/reference/android/support/v4/provider/FontRequest)\n - [FontsContractCompat](/reference/android/support/v4/provider/FontsContractCompat)\n - [FontsContractCompat.Columns](/reference/android/support/v4/provider/FontsContractCompat.Columns)\n - [FontsContractCompat.FontFamilyResult](/reference/android/support/v4/provider/FontsContractCompat.FontFamilyResult)\n - [FontsContractCompat.FontInfo](/reference/android/support/v4/provider/FontsContractCompat.FontInfo)\n - [FontsContractCompat.FontRequestCallback](/reference/android/support/v4/provider/FontsContractCompat.FontRequestCallback)"]]