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 public interface SyncConstValue 25 { 26 /** 27 * The account that was used to sync the entry to the device. 28 * <P>Type: TEXT</P> 29 */ 30 public static final String _SYNC_ACCOUNT = "_sync_account"; 31 32 /** 33 * The type of the account that was used to sync the entry to the device. 34 * <P>Type: TEXT</P> 35 */ 36 public static final String _SYNC_ACCOUNT_TYPE = "_sync_account_type"; 37 38 /** 39 * The unique ID for a row assigned by the sync source. NULL if the row has never been synced. 40 * <P>Type: TEXT</P> 41 */ 42 public static final String _SYNC_ID = "_sync_id"; 43 44 /** 45 * The last time, from the sync source's point of view, that this row has been synchronized. 46 * <P>Type: INTEGER (long)</P> 47 */ 48 public static final String _SYNC_TIME = "_sync_time"; 49 50 /** 51 * The version of the row, as assigned by the server. 52 * <P>Type: TEXT</P> 53 */ 54 public static final String _SYNC_VERSION = "_sync_version"; 55 56 /** 57 * Used in temporary provider while syncing, always NULL for rows in persistent providers. 58 * <P>Type: INTEGER (long)</P> 59 */ 60 public static final String _SYNC_LOCAL_ID = "_sync_local_id"; 61 62 /** 63 * Used only in persistent providers, and only during merging. 64 * <P>Type: INTEGER (long)</P> 65 */ 66 public static final String _SYNC_MARK = "_sync_mark"; 67 68 /** 69 * Used to indicate that local, unsynced, changes are present. 70 * <P>Type: INTEGER (long)</P> 71 */ 72 public static final String _SYNC_DIRTY = "_sync_dirty"; 73 74 /** 75 * Used to indicate that this account is not synced 76 */ 77 public static final String NON_SYNCABLE_ACCOUNT = "non_syncable"; 78 79 /** 80 * Used to indicate that this account is not synced 81 */ 82 public static final String NON_SYNCABLE_ACCOUNT_TYPE = "android.local"; 83 } 84