docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NotificationsPermissionRequest

    Track the status of notification permission request. Can be returned from coroutine to suspend it until request is either granted or denied. Permission can be granted or denied immediately, if this isn't the first request.

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

    Properties

    Status

    Returns a status of this request.

    Declaration
    public NotificationsPermissionStatus Status { get; }
    Property Value
    Type Description
    NotificationsPermissionStatus

    keepWaiting

    Overridden property of base class. Indicates if coroutine should be suspended.

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

    Implements

    IEnumerator
    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)