-
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
SafeAppControlHandle appcontrol = null;
NotificationEventArgs.ButtonActionArgs button = new NotificationEventArgs.ButtonActionArgs();
- button.Index = index;
+ button.Index = (ButtonIndex)index;
Interop.NotificationEventListener.GetImage(eventargs.Handle, NotificationImage.Button_1 + index, out text);
if (string.IsNullOrEmpty(text) == false)
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the property to get information about the deleted notification.
+ /// </summary>
public class NotificationDeleteEventArgs
{
/// <summary>
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
using System.Collections.Generic;
using System.ComponentModel;
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
private const string LogTag = "Tizen.Applications.NotificationEventListener";
internal IDictionary<string, Bundle> Extender;
internal Interop.NotificationEventListener.SafeNotificationHandle Handle;
+ /// <summary>
+ /// Initializes a new instance of the <see cref="NotificationEventArgs"/> class.
+ /// </summary>
public NotificationEventArgs()
{
Style = new Dictionary<string, StyleArgs>();
{
using Tizen.Common;
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
+ /// <summary>
+ /// Class for Notification AccessorySet which is included vibration, led, sound option
+ /// </summary>
public class AccessoryArgs
{
/// <summary>
using System.Collections.Generic;
/// <summary>
- /// Class for generating Active style notification
+ /// This class provides the methods and properties to get information about the posted or updated notification.
/// </summary>
public partial class NotificationEventArgs
{
+ /// <summary>
+ /// Class to generate the Active style notification
+ /// </summary>
public class ActiveStyleArgs : StyleArgs
{
/// <summary>
- /// Constructor
+ /// Initializes a new instance of the <see cref="ActiveStyleArgs"/> class.
/// </summary>
public ActiveStyleArgs()
{
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
+ /// <summary>
+ /// Class to generate the BigPicture style notification
+ /// </summary>
public class BigPictureStyleArgs : StyleArgs
{
/// <summary>
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
/// <summary>
- /// Structure to encapsulate Notification ButtonAction.
- /// You can get an Text, ImagePath, Action to be invoked when the button is click by the user.
+ /// Class to display the buttons on the active notification.
/// </summary>
public class ButtonActionArgs
{
/// </summary>
/// <example>
/// <code>
- /// int index = NotificationEventArgs.ButtonActionArgs.Index;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ButtonActionArgs button = style.Button;
+ /// ButtonIndex index = button.Index;
/// </code>
/// </example>
- public int Index { get; internal set; }
+ public ButtonIndex Index { get; internal set; }
/// <summary>
/// Gets the text that describes the button.
/// </value>
/// <example>
/// <code>
- /// string text = NotificationEventArgs.ButtonActionArgs.Text;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ButtonActionArgs button = style.Button;
+ /// string text = button.Text;
/// </code>
/// </example>
public string Text { get; internal set; }
/// </value>
/// <example>
/// <code>
- /// string imagePath = NotificationEventArgs.ButtonActionArgs.ImagePath;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ButtonActionArgs button = style.Button;
+ /// string imagePath = button.ImagePath;
/// </code>
/// </example>
public string ImagePath { get; internal set; }
/// </value>
/// <example>
/// <code>
- /// AppControl action = NotificationEventArgs.ButtonActionArgs.Action;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ButtonActionArgs button = style.Button;
+ /// AppControl action = button.Action;
/// </code>
/// </example>
public AppControl Action { get; internal set; }
}
/// <summary>
- /// Enumeration for notification lauch option type.
+ /// Enumeration for notification launch option type.
/// </summary>
internal enum LaunchOption
{
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
/// <summary>
- /// Class for generating Indicator style notification.
+ /// Class to generate the Indicator style notification.
/// </summary>
public class IndicatorStyleArgs : StyleArgs
{
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
+ /// <summary>
+ /// Class to generate the Lock style notification.
+ /// </summary>
public class LockStyleArgs : StyleArgs
{
/// <summary>
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
/// <summary>
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
+ /// <summary>
+ /// Class to display the direct reply on the active notification.
+ /// </summary>
public class ReplyActionArgs
{
/// <summary>
/// Gets Index of Button which is appeared at Notification.
/// If there is no ParentIndex, the ReplyAction should be displayed directly on the active notification.
/// </summary>
+ /// <example>
+ /// <code>
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ReplyActionArgs action = style.Reply;
+ /// ButtonIndex buttonIndex = action.ParentIndex;
+ /// </code>
+ /// </example>
public ButtonIndex ParentIndex { get; internal set; } = ButtonIndex.None;
/// <summary>
/// </summary>
/// <example>
/// <code>
- /// string placeholderText = NotificationEventArgs.ReplyActionArgs.PlaceHolderText;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ReplyActionArgs action = style.Reply;
+ /// string placeholderText = action.PlaceHolderText;
/// </code>
/// </example>
public string PlaceHolderText { get; internal set; }
/// </summary>
/// <example>
/// <code>
- /// int replyMax = NotificationEventArgs.ReplyActionArgs.ReplyMax;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ReplyActionArgs action = style.Reply;
+ /// int replyMax = action.ReplyMax;
/// </code>
/// </example>
public int ReplyMax { get; internal set; }
/// </summary>
/// <example>
/// <code>
- /// ButtonActionArgs button = NotificationEventArgs.ReplyActionArgs.Button;
+ /// NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
+ /// NotificationEventArgs.ReplyActionArgs action = style.Reply;
+ /// ButtonActionArgs button = action.Button;
/// </code>
/// </example>
public ButtonActionArgs Button { get; internal set; }
namespace Tizen.Applications.NotificationEventListener
{
+ /// <summary>
+ /// This class provides the methods and properties to get information about the posted or updated notification.
+ /// </summary>
public partial class NotificationEventArgs
{
public abstract class StyleArgs
using System.ComponentModel;
using System.Runtime.InteropServices;
+ /// <summary>
+ /// This class provides a way to register callback function for some notification events.
+ /// </summary>
+ /// <remarks>
+ /// The event listener can use this class to get a list of notification or to clear notifications.
+ /// </remarks>
public partial class NotificationListenerManager
{
private const string LogTag = "Tizen.Applications.NotificationEventListener";
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);