tripkit-android / com.skedgo.tripkit.ui.provider / ScheduledStopsProvider
ScheduledStopsProvider
open class ScheduledStopsProvider : ContentProvider
Author Daniel Grech
Constructors
Name | Summary |
---|---|
<init> | ScheduledStopsProvider() |
Properties
Name | Summary |
---|---|
AUTHORITY | static val AUTHORITY: String ! |
CONTENT_URI | static val CONTENT_URI: Uri! |
DOWNLOAD_HISTORY_URI | static val DOWNLOAD_HISTORY_URI: Uri! |
LOCATIONS_BY_SCHEDULED_STOP_URI | Only valid whilst bulkInserting. static val LOCATIONS_BY_SCHEDULED_STOP_URI: Uri! |
LOCATIONS_URI | Supports insertion only - used for bulk transactions when inserting stopsstatic val LOCATIONS_URI: Uri! |
Functions
Name | Summary |
---|---|
bulkInsert | open fun bulkInsert(uri: Uri!, values: Array <ContentValues!>!): Int |
delete | open fun delete(uri: Uri!, sel: String !, selArgs: Array < String !>!): Int |
getType | open fun getType(uri: Uri!): String ! |
insert | open fun insert(uri: Uri!, values: ContentValues!): Uri! |
onCreate | open fun onCreate(): Boolean |
query | open fun query(uri: Uri!, proj: Array < String !>!, sel: String !, selArgs: Array < String !>!, sort: String !): Cursor! |
update | open fun update(uri: Uri!, values: ContentValues!, sel: String !, selArgs: Array < String !>!): Int |