Class UnbluFirebaseProvider
- java.lang.Object
-
- android.content.ContentProvider
-
- com.unblu.sdk.module.firebase_notification.UnbluFirebaseProvider
-
- All Implemented Interfaces:
android.content.ComponentCallbacks
,android.content.ComponentCallbacks2
public class UnbluFirebaseProvider extends android.content.ContentProvider
Custom contentProvider with the only purpose of initializing at startup to provide the fcm token to the collaboration server.
-
-
Constructor Summary
Constructors Constructor Description UnbluFirebaseProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
delete(android.net.Uri uri, java.lang.String selection, java.lang.String[] selectionArgs)
java.lang.String
getType(android.net.Uri uri)
android.net.Uri
insert(android.net.Uri uri, android.content.ContentValues values)
boolean
onCreate()
android.database.Cursor
query(android.net.Uri uri, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder)
int
update(android.net.Uri uri, android.content.ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs)
-
Methods inherited from class android.content.ContentProvider
applyBatch, applyBatch, attachInfo, bulkInsert, call, call, canonicalize, clearCallingIdentity, delete, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getTypeAnonymous, 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:
onCreate
in classandroid.content.ContentProvider
-
query
@Nullable public android.database.Cursor query(@NonNull android.net.Uri uri, @Nullable java.lang.String[] projection, @Nullable java.lang.String selection, @Nullable java.lang.String[] selectionArgs, @Nullable java.lang.String sortOrder)
- Specified by:
query
in classandroid.content.ContentProvider
-
getType
@Nullable public java.lang.String getType(@NonNull android.net.Uri uri)
- Specified by:
getType
in classandroid.content.ContentProvider
-
insert
@Nullable public android.net.Uri insert(@NonNull android.net.Uri uri, @Nullable android.content.ContentValues values)
- Specified by:
insert
in classandroid.content.ContentProvider
-
delete
public int delete(@NonNull android.net.Uri uri, @Nullable java.lang.String selection, @Nullable java.lang.String[] selectionArgs)
- Specified by:
delete
in classandroid.content.ContentProvider
-
update
public int update(@NonNull android.net.Uri uri, @Nullable android.content.ContentValues values, @Nullable java.lang.String selection, @Nullable java.lang.String[] selectionArgs)
- Specified by:
update
in classandroid.content.ContentProvider
-
-