docs.unity3d.com
Search Results for

    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
    iOSNotificationAction.SystemImageName
    iOSNotificationAction.TemplateImageName
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)