Release 4.0.0-preview1-00051
[platform/core/csapi/tizenfx.git] / src / Tizen.Applications.Notification / Tizen.Applications.Notifications / NotificationLockStyle.cs
1 /*
2  * Copyright (c) 2017 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 namespace Tizen.Applications.Notifications
18 {
19     /// <summary>
20     /// Class containing common properties and methods of Notifications
21     /// </summary>
22     /// <remarks>
23     /// A notification is a message that is displayed on the notification area.
24     /// It is created to notify information to the user through the application.
25     /// This class helps you to provide method and property for creating notification object.
26     /// </remarks>
27     public sealed partial class Notification
28     {
29         /// <summary>
30         ///  Class for generating Lock style notification
31         /// </summary>
32         public sealed class LockStyle : StyleBase
33         {
34             /// <summary>
35             /// Gets or sets an absolute path for an image file to display on the icon of Lock style
36             /// </summary>
37             public string IconPath { get; set; }
38
39             /// <summary>
40             /// Gets or sets an absolute path for a thumbnail image file to display on Lock style
41             /// </summary>
42             public string ThumbnailPath { get; set; }
43
44             /// <summary>
45             /// Gets the key of LockStyle
46             /// </summary>
47             internal override string Key
48             {
49                 get
50                 {
51                     return "Lock";
52                 }
53             }
54
55             internal override void Make(Notification notification)
56             {
57                 LockBinder.BindObject(notification);
58             }
59         }
60     }
61 }