Gcam-Services-Provider/app/src/main/java/de/lukaspieper/gcam/GServicesProvider.kt
2021-10-01 15:56:40 +02:00

44 lines
No EOL
1 KiB
Kotlin

package de.lukaspieper.gcam
import android.content.ContentProvider
import android.content.ContentValues
import android.database.Cursor
import android.net.Uri
class GServicesProvider : ContentProvider() {
override fun onCreate(): Boolean {
return true
}
override fun query(
uri: Uri,
projection: Array<out String>?,
selection: String?,
selectionArgs: Array<out String>?,
sortOrder: String?
): Cursor? {
return null
}
override fun getType(uri: Uri): String? {
return null
}
override fun insert(uri: Uri, values: ContentValues?): Uri? {
throw UnsupportedOperationException()
}
override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int {
throw UnsupportedOperationException()
}
override fun update(
uri: Uri,
values: ContentValues?,
selection: String?,
selectionArgs: Array<out String>?
): Int {
throw UnsupportedOperationException()
}
}