2 * Copyright (c) 2017 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 namespace Tizen.Applications.NotificationEventListener
19 using System.Collections.Generic;
22 /// This class provides the methods and properties to get information about the posted or updated notification.
24 public partial class NotificationEventArgs
27 /// Class to get infomation about Notification Active style.
29 public class ActiveStyleArgs : StyleArgs
32 /// Initializes a new instance of the <see cref="ActiveStyleArgs"/> class.
34 public ActiveStyleArgs()
36 Button = new List<ButtonActionArgs>();
40 /// Gets the IsAutoRemove option of the active notification.
41 /// IsAutoRemove option lets the active notification be removed several seconds after it shows.
44 /// When 'IsAutoRemove' is set as false, the active notification will not be removed as long as the user removes
45 /// the active notification or the app which posted the active notification removes the active notification.
47 public bool IsAutoRemove { get; internal set; }
50 /// Gets an absolute path for an image file to display on the background of active notification.
52 public string BackgroundImage { get; internal set; }
55 /// Gets the default button to display highlight on the active notification
57 public ButtonIndex DefaultButton { get; internal set; }
60 /// Gets timeout value in second when the notification can be hidden from the viewer.
62 public int HideTimeout { get; internal set; }
65 /// Gets timeout value in second when the notification can be deleted from the viewer.
67 public int DeleteTimeout { get; internal set; }
70 /// Gets a button to this active notification style.
71 /// Buttons are displayed in the notification content.
73 public IList<ButtonActionArgs> Button { get; internal set; }
76 /// Gets a ReplyAction to this active notification style.
78 public ReplyActionArgs Reply { get; internal set; }
80 internal override string Key