Release 4.0.0-preview1-00172
[platform/core/csapi/tizenfx.git] / src / Tizen.Content.MediaContent / Tizen.Content.MediaContent / MediaInfoUpdateValues.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 System;
18
19 namespace Tizen.Content.MediaContent
20 {
21     /// <summary>
22     /// Provides means to set values used for the update command.
23     /// </summary>
24     /// <remarks>
25     /// The values only set in the object will be affected to the update command.
26     /// </remarks>
27     /// <seealso cref="MediaInfoCommand.Update(string, MediaInfoUpdateValues)"/>
28     public class MediaInfoUpdateValues
29     {
30         /// <summary>
31         /// Gets or sets the weather information for an update.
32         /// </summary>
33         /// <remarks>If the value is null, the update operation will have no effect on the field.</remarks>
34         /// <value>A string for weather; the field will not be updated if null.</value>
35         public string Weather { get; set; }
36
37         /// <summary>
38         /// Gets or sets the favorite status for an update.
39         /// </summary>
40         /// <remarks>If the value is null, the update operation will have no effect on the field.</remarks>
41         /// <value>A value indicating whether the media is favorite; the field will not be updated if null.</value>
42         public bool? IsFavorite { get; set; }
43
44         /// <summary>
45         /// Gets or sets the provider information for an update.
46         /// </summary>
47         /// <remarks>If the value is null, the update operation will have no effect on the field.</remarks>
48         /// <value>A string for provider; the field will not be updated if null.</value>
49         public string Provider { get; set; }
50
51         /// <summary>
52         /// Gets or sets the category information for an update.
53         /// </summary>
54         /// <remarks>If the value is null, the update operation will have no effect on the field.</remarks>
55         /// <value>A string for category; the field will not be updated if null.</value>
56         public string Category { get; set; }
57
58
59         /// <summary>
60         /// Gets or sets the location tag for an update.
61         /// </summary>
62         /// <remarks>If the value is null, the update operation will have no effect on the field.</remarks>
63         /// <value>A string for location tag; the field will not be updated if null.</value>
64         public string LocationTag { get; set; }
65
66         /// <summary>
67         /// Gets or sets the age rating information for an update.
68         /// </summary>
69         /// <remarks>If the value is null, the update operation will have no effect on the field.</remarks>
70         /// <value>A string for age rating; the field will not be updated if null.</value>
71         public string AgeRating { get; set; }
72     }
73 }