Class MyTargetContentProvider

  • All Implemented Interfaces:
    android.content.ComponentCallbacks , android.content.ComponentCallbacks2

    
    public final class MyTargetContentProvider
    extends ContentProvider
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void attachInfo(Context context, ProviderInfo info)
      int delete(@NonNull() Uri uri, @Nullable() String selection, @Nullable() Array<String> selectionArgs)
      String getType(@NonNull() Uri uri)
      Uri insert(@NonNull() Uri uri, @Nullable() ContentValues values)
      boolean onCreate()
      Cursor query(@NonNull() Uri uri, @Nullable() Array<String> projection, @Nullable() String selection, @Nullable() Array<String> selectionArgs, @Nullable() String sortOrder)
      int update(@NonNull() Uri uri, @Nullable() ContentValues values, @Nullable() String selection, @Nullable() Array<String> selectionArgs)
      • Methods inherited from class android.content.ContentProvider

        applyBatch, bulkInsert, call, canonicalize, clearCallingIdentity, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getTypeAnonymous, getWritePermission, onCallingPackageChanged, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openFile, openPipeHelper, openTypedAssetFile, refresh, requireContext, restoreCallingIdentity, shutdown, uncanonicalize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyTargetContentProvider

        MyTargetContentProvider()
    • Method Detail

      • attachInfo

         void attachInfo(Context context, ProviderInfo info)
      • delete

         int delete(@NonNull() Uri uri, @Nullable() String selection, @Nullable() Array<String> selectionArgs)
      • insert

        @Nullable() Uri insert(@NonNull() Uri uri, @Nullable() ContentValues values)
      • query

        @Nullable() Cursor query(@NonNull() Uri uri, @Nullable() Array<String> projection, @Nullable() String selection, @Nullable() Array<String> selectionArgs, @Nullable() String sortOrder)
      • update

         int update(@NonNull() Uri uri, @Nullable() ContentValues values, @Nullable() String selection, @Nullable() Array<String> selectionArgs)