Package com.indooratlas.android.sdk
Class IndoorAtlasInitProvider
- java.lang.Object
-
- android.content.ContentProvider
-
- com.indooratlas.android.sdk.IndoorAtlasInitProvider
-
- All Implemented Interfaces:
ComponentCallbacks,ComponentCallbacks2
public class IndoorAtlasInitProvider extends ContentProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class android.content.ContentProvider
ContentProvider.CallingIdentity, ContentProvider.PipeDataWriter<T extends Object>
-
-
Field Summary
-
Fields inherited from interface android.content.ComponentCallbacks2
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
-
-
Constructor Summary
Constructors Constructor Description IndoorAtlasInitProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachInfo(Context context, ProviderInfo providerInfo)intdelete(Uri uri, String s, String[] strings)StringgetType(Uri uri)Uriinsert(Uri uri, ContentValues contentValues)booleanonCreate()Cursorquery(Uri uri, String[] strings, String s, String[] strings1, String s1)intupdate(Uri uri, ContentValues contentValues, String s, String[] strings)-
Methods inherited from class android.content.ContentProvider
applyBatch, applyBatch, bulkInsert, call, call, canonicalize, clearCallingIdentity, delete, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getWritePermission, insert, isTemporary, onCallingPackageChanged, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openAssetFile, openFile, openFile, openFileHelper, openPipeHelper, openTypedAssetFile, openTypedAssetFile, query, query, refresh, requireContext, restoreCallingIdentity, setPathPermissions, setReadPermission, setWritePermission, shutdown, uncanonicalize, update
-
-
-
-
Method Detail
-
onCreate
public boolean onCreate()
- Specified by:
onCreatein classContentProvider
-
attachInfo
public void attachInfo(Context context, ProviderInfo providerInfo)
- Overrides:
attachInfoin classContentProvider
-
query
@Nullable public Cursor query(@NonNull Uri uri, @Nullable String[] strings, @Nullable String s, @Nullable String[] strings1, @Nullable String s1)
- Specified by:
queryin classContentProvider
-
getType
@Nullable public String getType(@NonNull Uri uri)
- Specified by:
getTypein classContentProvider
-
insert
@Nullable public Uri insert(@NonNull Uri uri, @Nullable ContentValues contentValues)
- Specified by:
insertin classContentProvider
-
delete
public int delete(@NonNull Uri uri, @Nullable String s, @Nullable String[] strings)
- Specified by:
deletein classContentProvider
-
update
public int update(@NonNull Uri uri, @Nullable ContentValues contentValues, @Nullable String s, @Nullable String[] strings)
- Specified by:
updatein classContentProvider
-
-