JtxICalObject

open class JtxICalObject(val collection: JtxCollection<JtxICalObject>)

Constructors

Link copied to clipboard
constructor(collection: JtxCollection<JtxICalObject>)

Types

Link copied to clipboard
data class Alarm(var alarmId: Long = 0, var action: String? = null, var description: String? = null, var summary: String? = null, var attendee: String? = null, var duration: String? = null, var repeat: String? = null, var attach: String? = null, var other: String? = null, var triggerTime: Long? = null, var triggerTimezone: String? = null, var triggerRelativeTo: String? = null, var triggerRelativeDuration: String? = null)
Link copied to clipboard
data class Attachment(var attachmentId: Long = 0, var uri: String? = null, var binary: String? = null, var fmttype: String? = null, var other: String? = null, var filename: String? = null, var extension: String? = null, var filesize: Long? = null)
Link copied to clipboard
data class Attendee(var attendeeId: Long = 0, var caladdress: String? = null, var cutype: String? = JtxContract.JtxAttendee.Cutype.INDIVIDUAL.name, var member: String? = null, var role: String? = JtxContract.JtxAttendee.Role.`REQ-PARTICIPANT`.name, var partstat: String? = null, var rsvp: Boolean? = null, var delegatedto: String? = null, var delegatedfrom: String? = null, var sentby: String? = null, var cn: String? = null, var dir: String? = null, var language: String? = null, var other: String? = null)
Link copied to clipboard
data class Category(var categoryId: Long = 0, var text: String? = null, var language: String? = null, var other: String? = null)
Link copied to clipboard
data class Comment(var commentId: Long = 0, var text: String? = null, var altrep: String? = null, var language: String? = null, var other: String? = null)
Link copied to clipboard
object Companion
Link copied to clipboard
data class Organizer(var organizerId: Long = 0, var caladdress: String? = null, var cn: String? = null, var dir: String? = null, var sentby: String? = null, var language: String? = null, var other: String? = null)
Link copied to clipboard
data class RelatedTo(var relatedtoId: Long = 0, var text: String? = null, var reltype: String? = null, var other: String? = null)
Link copied to clipboard
data class Resource(var resourceId: Long = 0, var text: String? = null, var altrep: String? = null, var language: String? = null, var other: String? = null)
Link copied to clipboard
data class Unknown(var unknownId: Long = 0, var value: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var color: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
lateinit var component: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var dtend: Long?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var due: Long?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var eTag: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var flags: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var percent: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var uid: String
Link copied to clipboard
Link copied to clipboard
var url: String?
Link copied to clipboard

Functions

Link copied to clipboard
fun add(): Uri

adds the current JtxICalObject in the jtx DB through the provider

Link copied to clipboard

This function is used for empty JtxICalObjects that need new data applied, usually a LocalJtxICalObject.

Link copied to clipboard
fun clearDirty(fileName: String?, eTag: String?, scheduleTag: String?)

Updates the fileName, eTag and scheduleTag of the current JtxICalObject

Link copied to clipboard
fun delete(): Int

Deletes the current JtxICalObject

Link copied to clipboard

Takes the current JtxICalObject and transforms it to a Calendar (ical4j)

Link copied to clipboard

Takes Content Values, applies them on the current JtxICalObject and retrieves all further list properties from the content provier and adds them.

Link copied to clipboard
Link copied to clipboard

Updates the current JtxICalObject with the given data

Link copied to clipboard
fun updateFlags(flags: Int)

Updates the flags of the current JtxICalObject

Link copied to clipboard

Takes the current JtxICalObject, transforms it to an iCalendar and writes it in an OutputStream