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 /// This class represents information about the sync job request.
25 /// <since_tizen> 4 </since_tizen>
26 public class SyncJobData
29 /// Represents the calendar capability.
31 /// <since_tizen> 4 </since_tizen>
33 /// If you want to receive notification about the calendar database change, assign it to the SyncJobName property of the SyncJobData object.
35 public const string CalendarCapability = "http://tizen.org/sync/capability/calendar";
38 /// Represents the contact capability.
40 /// <since_tizen> 4 </since_tizen>
42 /// If you want to receive notification about the contact database change, assign it to the SyncJobName property of the SyncJobData object.
44 public const string ContactCapability = "http://tizen.org/sync/capability/contact";
47 /// Represents the image capability.
49 /// <since_tizen> 4 </since_tizen>
51 /// If you want to receive notification about the image database change, assign it to the SyncJobName property of the SyncJobData object.
53 public const string ImageCapability = "http://tizen.org/sync/capability/image";
56 /// Represents the video capability.
58 /// <since_tizen> 4 </since_tizen>
60 /// If you want to receive notification about the video database change, assign it to the SyncJobName property of the SyncJobData object.
62 public const string VideoCapability = "http://tizen.org/sync/capability/video";
65 /// Represents the sound capability.
67 /// <since_tizen> 4 </since_tizen>
69 /// If you want to receive notification about the sound database change, assign it to the SyncJobName property of the SyncJobData object.
71 public const string SoundCapability = "http://tizen.org/sync/capability/sound";
74 /// Represents the music capability.
76 /// <since_tizen> 4 </since_tizen>
78 /// If you want to receive notification about the music database change, assign it to the SyncJobName property of the SyncJobData object.
80 public const string MusicCapability = "http://tizen.org/sync/capability/music";
83 /// The account instance on which the sync operation was requested or @c null in the case of the accountless sync operation.
85 /// <since_tizen> 4 </since_tizen>
86 public AccountManager.Account Account { get; set; }
89 /// User data which contains an additional information related to the registered sync job.
91 /// <since_tizen> 4 </since_tizen>
92 public Bundle UserData { get; set; }
95 /// A string representing a sync job which has been operated or capability setting to operate the data change sync job.
97 /// <since_tizen> 4 </since_tizen>
98 public string SyncJobName { get; set; }