Class Notification.ReplyAction

Definition

Namespace:
Tizen.Applications.Notifications
Assembly:
Tizen.Applications.Notification.dll
API Level:
3

Class for displaying direct-reply on notification. You must set a ReplyMax and Button. Otherwise, user can't send written text to application which is set by AppControl.

C#
Copy
public sealed class ReplyAction : Notification.MakerBase
Inheritance
Tizen.Applications.Notifications.Notification.MakerBase
Notification.ReplyAction

Properties

View Source

Button

Gets or sets the button, which appears as ReplyAction in notification. You must set the button, otherwise, a user can't send written text to application, which is set by AppControl.

Declaration
C#
Copy
public Notification.ButtonAction Button { get; set; }
Property Value
Type Description
Notification.ButtonAction
Remarks

If you set it to null, the already set ButtonAction will be removed.

Examples
Copy
ReplyAction button = new ReplyAction { ParentIndex = ButtonIndex.Second; PlaceHolderText = "Please write your reply." ReplyMax = 160, Button = new ButtonAction { text = "Yes", ImagePath = "image path", Action = new AppControl{ ApplicationId = "org.tizen.app" }; }; };
API Level: 3
View Source

ParentIndex

Gets or sets the index of button, which appears at notification. If you set ParentIndex, ReplyAction is displayed when button matches with ParentIndex that is clicked by the user. If you don't set ParentIndex, it appears as notification directly.

Declaration
C#
Copy
public ButtonIndex ParentIndex { get; set; }
Property Value
Type Description
ButtonIndex
API Level: 3
View Source

PlaceHolderText

Gets or sets the PlaceHolderText of ReplyAction which appears at notification. If you set PlaceHolderText, it is displayed to placeholder in notification.

Declaration
C#
Copy
public string PlaceHolderText { get; set; }
Property Value
Type Description
String
API Level: 3
View Source

ReplyMax

Gets or sets the maximum number of characters that the user can input. You must set a ReplyMax. Otherwise user don't write text to placeholder in notification.

Declaration
C#
Copy
public int ReplyMax { get; set; }
Property Value
Type Description
Int32

Default value is 160.

API Level: 3