Java android.content ContentProvider fields, constructors, methods, implement or subclass

Example usage for Java android.content ContentProvider fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content ContentProvider.

The text is from its open source code.

Subclass

android.content.ContentProvider has subclasses.
Click this link to see all its subclasses.

Method

ContentProvidercoerceToLocalContentProvider(IContentProvider abstractInterface)
Given an IContentProvider, try to coerce it back to the real ContentProvider object if it is running in the local process.
ContextgetContext()
Retrieves the Context this provider is running in.
Uriinsert(@NonNull Uri uri, @Nullable ContentValues values)
Implement this to handle requests to insert a new row.
booleanonCreate()
Implement this to initialize your content provider on startup.
Cursorquery(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder)
Implement this to handle query requests from clients.