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
Assembly: solution.dll
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 |