[Notification] Add API for using buttons and a text input in a notification and getti... 26/268826/6
authorMarcin Bialek <m.bialek@samsung.com>
Mon, 3 Jan 2022 09:40:45 +0000 (10:40 +0100)
committerMarcin Bialek <m.bialek@samsung.com>
Tue, 18 Jan 2022 18:20:10 +0000 (19:20 +0100)
commita413f27b382b892325d9111bf11e567e54c77fed
treeaa0f34800ab27ddd5479b7b72d3661d46fb4f1e0
parent02d1db1a79bd548387eeee3a9911cbafe9d45768
[Notification] Add API for using buttons and a text input in a notification and getting block state

To add buttons tizen.NotificationButton can be used. It allows setting text, an image and an action. An array of buttons can be provided as a value for
"buttons" key in InputInitDict. To use a text input, an object with proper values can be provided as a value for "textInput" key. To get notifications
block state, tizen.notification.getBlockState() function can be used.

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-284
[Verification] Features have been tested with an example application which uses new API.

Change-Id: I0d3d2110b3cf37d17e4cf632d18263f493606653
src/notification/common_notification.cc
src/notification/common_notification.h
src/notification/notification_api.js
src/notification/notification_extension.cc
src/notification/notification_instance.cc
src/notification/notification_instance.h
src/notification/notification_manager.cc
src/notification/notification_manager.h
src/notification/user_notification.cc
src/notification/user_notification.h