Package-level declarations
Types
Link copied to clipboard
class ContentProviderCompat
Helper for accessing features in android.content.ContentProvider in a backwards compatible fashion.
Link copied to clipboard
class ContentResolverCompat
Helper for accessing features in ContentResolver in a backwards compatible fashion.
Link copied to clipboard
Helper for accessing features in Context.
Link copied to clipboard
FileProvider is a special subclass of ContentProvider that facilitates secure sharing of files associated with an app by creating a
content://Uri for a file instead of a file:///Uri.Link copied to clipboard
class IntentCompat
Helper for accessing features in Intent.
Link copied to clipboard
This class is used to make a sanitized copy of an Intent.
Link copied to clipboard
class LocusIdCompat
An identifier for an unique state (locus) in the application.
Link copied to clipboard
class MimeTypeFilter
Provides utility methods for matching MIME type filters used in ContentProvider.
Link copied to clipboard
interface OnConfigurationChangedProvider
Interface for components that can dispatch calls from ComponentCallbacks.onConfigurationChanged.
Link copied to clipboard
interface OnTrimMemoryProvider
Interface for components that can dispatch calls from ComponentCallbacks2.onTrimMemory.
Link copied to clipboard
class PackageManagerCompat
Helper for accessing features in PackageManager.
Link copied to clipboard
class PermissionChecker
This class provides permission check APIs that verify both the permission and the associated app op for this permission if such is defined.
Link copied to clipboard
class SharedPreferencesCompat
Link copied to clipboard
Wrapper class for {IUnusedAppRestrictionsBackportCallback}.
Link copied to clipboard
Wrapper class for IUnusedAppRestrictionsBackportService.
Link copied to clipboard
Shared constants related to Unused App Restrictions (e.g.
Link copied to clipboard
Helper for accessing UriMatcher to create Uri Predicate.
Functions
Link copied to clipboard
Returns a new ContentValues with the given key/value pairs as elements.
Link copied to clipboard
inline fun SharedPreferences.edit(commit: Boolean = false, action: SharedPreferences.Editor.() -> Unit)
Link copied to clipboard
Return the handle to a system-level service by class.
Link copied to clipboard
inline fun Context.withStyledAttributes(@StyleRes resourceId: Int, attrs: IntArray, block: TypedArray.() -> Unit)
Executes block on a TypedArray receiver. The TypedArray holds the values defined by the style resource resourceId which are listed in attrs.
inline fun Context.withStyledAttributes(set: AttributeSet? = null, attrs: IntArray, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0, block: TypedArray.() -> Unit)
Executes block on a TypedArray receiver. The TypedArray holds the attribute values in set that are listed in attrs. In addition, if the given AttributeSet specifies a style class (through the style attribute), that style will be applied on top of the base attributes it defines.