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
    Assembly: Unity.Notifications.Unified.dll
    Syntax
    public class QueryLastRespondedNotificationOp : CustomYieldInstruction, IEnumerator

    Properties

    Notification

    Returns a notification the was used to open the app or null if app was launched normally. An exception will be thrown if operation has not been completed yet or no notification is available.

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

    State

    The state of the operation.

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

    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)