added API Level
[platform/core/csapi/tizenfx.git] / src / Tizen.Account.SyncManager / Tizen.Account.SyncManager / SyncJobData.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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 using Tizen.Applications;
18 using Tizen.Account.AccountManager;
19
20 namespace Tizen.Account.SyncManager
21 {
22     /// <summary>
23     /// This class represents information about the sync job request.
24     /// </summary>
25     /// <since_tizen> 4 </since_tizen>
26     public class SyncJobData
27     {
28         /// <summary>
29         /// Represents the calendar capability.
30         /// </summary>
31         /// <since_tizen> 4 </since_tizen>
32         /// <remarks>
33         /// If you want to receive notification about the calendar database change, assign it to the SyncJobName property of the SyncJobData object.
34         /// </remarks>
35         public const string CalendarCapability = "http://tizen.org/sync/capability/calendar";
36
37         /// <summary>
38         /// Represents the contact capability.
39         /// </summary>
40         /// <since_tizen> 4 </since_tizen>
41         /// <remarks>
42         /// If you want to receive notification about the contact database change, assign it to the SyncJobName property of the SyncJobData object.
43         /// </remarks>
44         public const string ContactCapability = "http://tizen.org/sync/capability/contact";
45
46         /// <summary>
47         /// Represents the image capability.
48         /// </summary>
49         /// <since_tizen> 4 </since_tizen>
50         /// <remarks>
51         /// If you want to receive notification about the image database change, assign it to the SyncJobName property of the SyncJobData object.
52         /// </remarks>
53         public const string ImageCapability = "http://tizen.org/sync/capability/image";
54
55         /// <summary>
56         /// Represents the video capability.
57         /// </summary>
58         /// <since_tizen> 4 </since_tizen>
59         /// <remarks>
60         /// If you want to receive notification about the video database change, assign it to the SyncJobName property of the SyncJobData object.
61         /// </remarks>
62         public const string VideoCapability = "http://tizen.org/sync/capability/video";
63
64         /// <summary>
65         /// Represents the sound capability.
66         /// </summary>
67         /// <since_tizen> 4 </since_tizen>
68         /// <remarks>
69         /// If you want to receive notification about the sound database change, assign it to the SyncJobName property of the SyncJobData object.
70         /// </remarks>
71         public const string SoundCapability = "http://tizen.org/sync/capability/sound";
72
73         /// <summary>
74         /// Represents the music capability.
75         /// </summary>
76         /// <since_tizen> 4 </since_tizen>
77         /// <remarks>
78         /// If you want to receive notification about the music database change, assign it to the SyncJobName property of the SyncJobData object.
79         /// </remarks>
80         public const string MusicCapability = "http://tizen.org/sync/capability/music";
81
82         /// <summary>
83         /// The account instance on which the sync operation was requested or @c null in the case of the accountless sync operation.
84         /// </summary>
85         /// <since_tizen> 4 </since_tizen>
86         public AccountManager.Account Account { get; set; }
87
88         /// <summary>
89         /// User data which contains an additional information related to the registered sync job.
90         /// </summary>
91         /// <since_tizen> 4 </since_tizen>
92         public Bundle UserData { get; set; }
93
94         /// <summary>
95         /// A string representing a sync job which has been operated or capability setting to operate the data change sync job.
96         /// </summary>
97         /// <since_tizen> 4 </since_tizen>
98         public string SyncJobName { get; set; }
99     }
100 }
101