Example usage for Java android.content ContentProvider fields, constructors, methods, implement or subclass
The text is from its open source code.
ContentProvider | coerceToLocalContentProvider(IContentProvider abstractInterface) Given an IContentProvider, try to coerce it back to the real ContentProvider object if it is running in the local process. |
Context | getContext() Retrieves the Context this provider is running in. |
Uri | insert(@NonNull Uri uri, @Nullable ContentValues values) Implement this to handle requests to insert a new row. |
boolean | onCreate() Implement this to initialize your content provider on startup. |
Cursor | query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) Implement this to handle query requests from clients. |