docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class QueryLastRespondedNotificationOp

    An operation for retrieving notification used to open the app. When app is not running, app launches first and then notification is delivered. There may be a delay until notification is delivered. This operation may finish immediately or it may require a few frames to pass. You can return it from coroutine to wait until completion.

    Inheritance
    object
    CustomYieldInstruction
    QueryLastRespondedNotificationOp
    Implements
    IEnumerator
    Inherited Members
    CustomYieldInstruction.MoveNext()
    CustomYieldInstruction.Reset()
    CustomYieldInstruction.Current
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Notifications.iOS
    Assembly: Unity.Notifications.iOS.dll
    Syntax
    public class QueryLastRespondedNotificationOp : CustomYieldInstruction, IEnumerator

    Properties

    ActionId

    The ID of the action that the user responded to or null if notification had no actions or no notification was responded to.

    Declaration
    public string ActionId { get; }
    Property Value
    Type Description
    string

    Notification

    Returns a notification the was used to open the app or null if app was launched normally.

    Declaration
    public iOSNotification Notification { get; }
    Property Value
    Type Description
    iOSNotification

    State

    The state of the operation.

    Declaration
    public QueryLastRespondedNotificationState State { get; }
    Property Value
    Type Description
    QueryLastRespondedNotificationState

    UserText

    The text entered by user when responding to notification using a text input action.

    Declaration
    public string UserText { get; }
    Property Value
    Type Description
    string

    keepWaiting

    Indicates if coroutine should be kept suspended.

    Declaration
    public override bool keepWaiting { get; }
    Property Value
    Type Description
    bool
    Overrides
    CustomYieldInstruction.keepWaiting

    Implements

    IEnumerator
    In This Article
    Back to top
    Copyright © 2025 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)