1
0
mirror of https://github.com/etesync/android synced 2025-06-30 20:02:41 +00:00
etesync-android/app/src/main/java/com/etesync/syncadapter/syncadapter/AddressBookProvider.kt
2019-01-05 10:01:36 +00:00

43 lines
1.2 KiB
Kotlin

/*
* Copyright © Ricki Hirner (bitfire web engineering).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*/
package com.etesync.syncadapter.syncadapter
import android.content.ContentProvider
import android.content.ContentValues
import android.database.Cursor
import android.net.Uri
class AddressBookProvider : ContentProvider() {
override fun onCreate(): Boolean {
return false
}
override fun query(uri: Uri, projection: Array<String>?, selection: String?, selectionArgs: Array<String>?, sortOrder: String?): Cursor? {
return null
}
override fun getType(uri: Uri): String? {
return null
}
override fun insert(uri: Uri, values: ContentValues?): Uri? {
return null
}
override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int {
return 0
}
override fun update(uri: Uri, values: ContentValues?, selection: String?, selectionArgs: Array<String>?): Int {
return 0
}
}