*/
using System;
-using System.ComponentModel;
using System.Runtime.InteropServices;
using Tizen.Applications;
using Tizen.Applications.Notifications;
[DllImport(Libraries.Notification, EntryPoint = "notification_set_delete_timeout")]
internal static extern NotificationError SetDeleteTime(NotificationSafeHandle handle, int timeout);
- [DllImport(Libraries.Notification, EntryPoint = "notification_set_extension_image_size")]
- internal static extern NotificationError SetBigPictureSize(NotificationSafeHandle handle, int size);
-
- [DllImport(Libraries.Notification, EntryPoint = "notification_get_extension_image_size")]
- internal static extern NotificationError GetBigPictureSize(NotificationSafeHandle handle, out int size);
-
[DllImport(Libraries.Notification, EntryPoint = "notification_set_extention_data")]
internal static extern NotificationError SetExtentionData(NotificationSafeHandle handle, string key, SafeBundleHandle bundleHandle);
[DllImport(Libraries.Notification, EntryPoint = "notification_get_args")]
internal static extern NotificationError GetExtentionBundle(NotificationSafeHandle handle, out IntPtr args, out IntPtr group_args);
+ [DllImport(Libraries.Notification, EntryPoint = "notification_get_default_button")]
+ internal static extern NotificationError GetDefaultButton(NotificationSafeHandle handle, out int index);
+
+ [DllImport(Libraries.Notification, EntryPoint = "notification_set_default_button")]
+ internal static extern NotificationError SetDefaultButton(NotificationSafeHandle handle, int index);
+
internal static NotificationError GetText(NotificationSafeHandle handle, NotificationText type, out string text)
{
NotificationError ret;