1 /*
2  * Copyright (C) 2006 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.provider;
18 
19 /**
20  * Columns for tables that are synced to a server.
21  * @deprecated Do not use.
22  * @hide
23  */
24 @Deprecated
25 public interface SyncConstValue
26 {
27     /**
28      * The account that was used to sync the entry to the device.
29      * <P>Type: TEXT</P>
30      */
31     public static final String _SYNC_ACCOUNT = "_sync_account";
32 
33     /**
34      * The type of the account that was used to sync the entry to the device.
35      * <P>Type: TEXT</P>
36      */
37     public static final String _SYNC_ACCOUNT_TYPE = "_sync_account_type";
38 
39     /**
40      * The unique ID for a row assigned by the sync source. NULL if the row has never been synced.
41      * <P>Type: TEXT</P>
42      */
43     public static final String _SYNC_ID = "_sync_id";
44 
45     /**
46      * The last time, from the sync source's point of view, that this row has been synchronized.
47      * <P>Type: INTEGER (long)</P>
48      */
49     public static final String _SYNC_TIME = "_sync_time";
50 
51     /**
52      * The version of the row, as assigned by the server.
53      * <P>Type: TEXT</P>
54      */
55     public static final String _SYNC_VERSION = "_sync_version";
56 
57     /**
58      * Used in temporary provider while syncing, always NULL for rows in persistent providers.
59      * <P>Type: INTEGER (long)</P>
60      */
61     public static final String _SYNC_LOCAL_ID = "_sync_local_id";
62 
63     /**
64      * Used only in persistent providers, and only during merging.
65      * <P>Type: INTEGER (long)</P>
66      */
67     public static final String _SYNC_MARK = "_sync_mark";
68 
69     /**
70      * Used to indicate that local, unsynced, changes are present.
71      * <P>Type: INTEGER (long)</P>
72      */
73     public static final String _SYNC_DIRTY = "_sync_dirty";
74 
75     /**
76      * Used to indicate that this account is not synced
77      */
78     public static final String NON_SYNCABLE_ACCOUNT = "non_syncable";
79 
80     /**
81      * Used to indicate that this account is not synced
82      */
83     public static final String NON_SYNCABLE_ACCOUNT_TYPE = "android.local";
84 }
85