Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit fa53d4cd authored by Patrick Lang's avatar Patrick Lang Committed by GitHub
Browse files

added x-status to sync, refactored list-properties to use batch operations (#95)

parent 2cdc7261
Loading
Loading
Loading
Loading
+219 −389

File changed.

Preview size limit exceeded, changes collapsed.

+8 −1
Original line number Original line Diff line number Diff line
@@ -42,7 +42,7 @@ object JtxContract {
    const val AUTHORITY = "at.techbee.jtx.provider"
    const val AUTHORITY = "at.techbee.jtx.provider"


    /** The version of this SyncContentProviderContract */
    /** The version of this SyncContentProviderContract */
    const val VERSION = 3
    const val VERSION = 4


    /** Constructs an Uri for the Jtx Sync Adapter with the given Account
    /** Constructs an Uri for the Jtx Sync Adapter with the given Account
     * @param [account] The account that should be appended to the Base Uri
     * @param [account] The account that should be appended to the Base Uri
@@ -272,6 +272,13 @@ object JtxContract {
         */
         */
        const val STATUS = "status"
        const val STATUS = "status"


        /**
         * Purpose:  To specify the filename of the attachment.
         * This is an X-PROPERTY that should be addressed as "X-LABEL"
         * Type: [String]
         */
        const val EXTENDED_STATUS = "xstatus"

        /**
        /**
         * Purpose:  This property defines the access classification for a calendar component.
         * Purpose:  This property defines the access classification for a calendar component.
         * The possible values of a status are defined in the enum [Classification].
         * The possible values of a status are defined in the enum [Classification].