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 public class SyncJobData
28 /// Represents the calendar capability.
31 /// If you want to receive notification about the calendar database change, assign it to the SyncJobName property of the SyncJobData object.
33 public const string CalendarCapability = "http://tizen.org/sync/capability/calendar";
36 /// Represents the contact capability.
39 /// If you want to receive notification about the contact database change, assign it to the SyncJobName property of the SyncJobData object.
41 public const string ContactCapability = "http://tizen.org/sync/capability/contact";
44 /// Represents the image capability.
47 /// If you want to receive notification about the image database change, assign it to the SyncJobName property of the SyncJobData object.
49 public const string ImageCapability = "http://tizen.org/sync/capability/image";
52 /// Represents the video capability.
55 /// If you want to receive notification about the video database change, assign it to the SyncJobName property of the SyncJobData object.
57 public const string VideoCapability = "http://tizen.org/sync/capability/video";
60 /// Represents the sound capability.
63 /// If you want to receive notification about the sound database change, assign it to the SyncJobName property of the SyncJobData object.
65 public const string SoundCapability = "http://tizen.org/sync/capability/sound";
68 /// Represents the music capability.
71 /// If you want to receive notification about the music database change, assign it to the SyncJobName property of the SyncJobData object.
73 public const string MusicCapability = "http://tizen.org/sync/capability/music";
76 /// The account instance on which the sync operation was requested or @c null in the case of the accountless sync operation.
78 public AccountManager.Account Account { get; set; }
81 /// User data which contains an additional information related to the 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 the data change sync job.
88 public string SyncJobName { get; set; }