blob: 58e42ce3729ed59df267df39c889e8ad48859d76 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001/*
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
17package android.provider;
18
19/**
20 * Columns for tables that are synced to a server.
Andrew Sapperstein8ab3dc72011-06-23 18:56:44 -070021 * @deprecated Do not use.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080022 * @hide
23 */
Aurimas Liutikas514c5ef2016-05-24 15:22:55 -070024@Deprecated
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080025public 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 /**
Fred Quintanad9d2f112009-04-23 13:36:27 -070034 * 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 /**
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080040 * 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";
Fred Quintana9e0d2b52010-02-25 16:52:05 -080074
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080075 /**
76 * Used to indicate that this account is not synced
77 */
78 public static final String NON_SYNCABLE_ACCOUNT = "non_syncable";
Fred Quintanad9d2f112009-04-23 13:36:27 -070079
80 /**
81 * Used to indicate that this account is not synced
82 */
83 public static final String NON_SYNCABLE_ACCOUNT_TYPE = "android.local";
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080084}