FirebaseInitProvider

class FirebaseInitProvider : ContentProvider


Initializes Firebase APIs at app startup time.

Summary

Public constructors

Public functions

Unit
attachInfo(context: Context, info: ProviderInfo)
Int
delete(uri: Uri, selection: String?, selectionArgs: Array<String!>?)
String?
getType(uri: Uri)
Uri?
insert(uri: Uri, values: ContentValues?)
Boolean

Called before onCreate.

Cursor?
query(
    uri: Uri,
    projection: Array<String!>?,
    selection: String?,
    selectionArgs: Array<String!>?,
    sortOrder: String?
)
Int
update(
    uri: Uri,
    values: ContentValues?,
    selection: String?,
    selectionArgs: Array<String!>?
)

Inherited functions

From android.content.ContentProvider
Array<ContentProviderResult!>!
applyBatch(
    authority: String!,
    operations: ArrayList<ContentProviderOperation!>!
)
Int
bulkInsert(uri: Uri!, values: Array<ContentValues!>!)
Bundle!
call(authority: String!, method: String!, arg: String!, extras: Bundle!)
Uri!
ContentProvider.CallingIdentity!
Unit
dump(fd: FileDescriptor!, writer: PrintWriter!, args: Array<String!>!)
AttributionSource!
String!
String!
String!
Context!
Array<PathPermission!>!
String!
Array<String!>!
getStreamTypes(uri: Uri!, mimeTypeFilter: String!)
String!
String!
Boolean
Unit
Unit
Unit
Unit
onTrimMemory(level: Int)
AssetFileDescriptor!
openAssetFile(uri: Uri!, mode: String!)
ParcelFileDescriptor!
openFile(uri: Uri!, mode: String!)
ParcelFileDescriptor!
openFileHelper(uri: Uri!, mode: String!)
ParcelFileDescriptor!
<T> openPipeHelper(
    uri: Uri!,
    mimeType: String!,
    opts: Bundle!,
    args: T!,
    func: ContentProvider.PipeDataWriter<T!>!
)
AssetFileDescriptor!
openTypedAssetFile(uri: Uri!, mimeTypeFilter: String!, opts: Bundle!)
Boolean
refresh(uri: Uri!, extras: Bundle!, cancellationSignal: CancellationSignal!)
Context!
Unit
Unit
Unit
setReadPermission(permission: String!)
Unit
setWritePermission(permission: String!)
Unit
Uri!

Public constructors

FirebaseInitProvider

FirebaseInitProvider()

Public functions

attachInfo

fun attachInfo(context: Context, info: ProviderInfo): Unit

delete

fun delete(uri: Uri, selection: String?, selectionArgs: Array<String!>?): Int

getType

fun getType(uri: Uri): String?

insert

fun insert(uri: Uri, values: ContentValues?): Uri?

onCreate

fun onCreate(): Boolean

Called before onCreate.

query

fun query(
    uri: Uri,
    projection: Array<String!>?,
    selection: String?,
    selectionArgs: Array<String!>?,
    sortOrder: String?
): Cursor?

update

fun update(
    uri: Uri,
    values: ContentValues?,
    selection: String?,
    selectionArgs: Array<String!>?
): Int