2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 using Tizen.Applications;
18 using Tizen.Account.AccountManager;
20 namespace Tizen.Account.SyncManager
23 /// Class represents information about a sync job request
25 public class SyncJobData
28 /// Represents calendar capability
31 /// If you want to receive notification about calendar database change, assign it to SyncJobName property of SyncJobData object.
33 public const string CalendarCapability = "http://tizen.org/sync/capability/calendar";
36 /// Represents contact capability
39 /// If you want to receive notification about contact database change, assign it to SyncJobName property of SyncJobData object.
41 public const string ContactCapability = "http://tizen.org/sync/capability/contact";
44 /// Represents image capability
47 /// If you want to receive notification about image database change, assign it to SyncJobName property of SyncJobData object.
49 public const string ImageCapability = "http://tizen.org/sync/capability/image";
52 /// Represents video capability
55 /// If you want to receive notification about video database change, assign it to SyncJobName property of SyncJobData object.
57 public const string VideoCapability = "http://tizen.org/sync/capability/video";
60 /// Represents sound capability
63 /// If you want to receive notification about sound database change, assign it to SyncJobName property of SyncJobData object.
65 public const string SoundCapability = "http://tizen.org/sync/capability/sound";
68 /// Represents music capability
71 /// If you want to receive notification about music database change, assign it to SyncJobName property of SyncJobData object.
73 public const string MusicCapability = "http://tizen.org/sync/capability/music";
76 /// The account instance on which sync operation was requested or @c null in the case of accountless sync operation
78 public AccountManager.Account Account { get; set; }
81 /// User data which contains additional information related registered sync job
83 public Bundle UserData { get; set; }
86 /// A string representing a sync job which has been operated or capability setting to operate data change sync job
88 public string SyncJobName { get; set; }