Class iOSTextInputNotificationAction
Represents a special notification action with text input support. Each action within an application unique must have unique ID. When user chooses this action, a prompt for text input appears. If this action is responded to by the user, iOSNotificationCenter.GetLastRespondedNotificationAction will return it's ID, while iOSNotificationCenter.GetLastRespondedNotificationUserText will return the text entered.
Inherited Members
Namespace: Unity.Notifications.iOS
Syntax
public class iOSTextInputNotificationAction : iOSNotificationAction
Constructors
iOSTextInputNotificationAction(String, String, String)
Creates new text input action.
Declaration
public iOSTextInputNotificationAction(string id, string title, string buttonTitle)
Parameters
Type | Name | Description |
---|---|---|
String | id | Unique identifier for this action |
String | title | Title for the action (and button label) |
String | buttonTitle | Label for a button for submitting the text input |
iOSTextInputNotificationAction(String, String, iOSNotificationActionOptions, String)
Creates new text input action.
Declaration
public iOSTextInputNotificationAction(string id, string title, iOSNotificationActionOptions options, string buttonTitle)
Parameters
Type | Name | Description |
---|---|---|
String | id | Unique identifier for this action |
String | title | Title for the action (and button label) |
iOSNotificationActionOptions | options | Options for the action |
String | buttonTitle | Label for a button for submitting the text input |
Properties
TextInputButtonTitle
Text label for the button for submitting the text input.
Declaration
public string TextInputButtonTitle { get; set; }
Property Value
Type | Description |
---|---|
String |
TextInputPlaceholder
The placeholder text for input.
Declaration
public string TextInputPlaceholder { get; set; }
Property Value
Type | Description |
---|---|
String |