docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    iOSNotificationAction
    iOSTextInputNotificationAction
    Inherited Members
    iOSNotificationAction.Id
    iOSNotificationAction.Title
    iOSNotificationAction.Options
    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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023