docs.unity3d.com
    目次を表示する/隠す

    Class PermissionRequest

    A class to request permission to post notifications. Before Android 13 (API 33) it is not required and Status will become Allowed immediately. May succeed or fail immediately. Users response is saved to PlayerPrefs. Respects users wish to not be asked again.

    Inheritance
    Object
    PermissionRequest
    Namespace: Unity.Notifications.Android
    Syntax
    public class PermissionRequest

    Constructors

    PermissionRequest()

    Create a new request. Will show user a dialog asking for permission if that is required to post notifications and user hasn't permanently denied it already.

    Declaration
    public PermissionRequest()

    Properties

    Status

    The status of this request. Value other than RequestPending means request has completed.

    Declaration
    public PermissionStatus Status { get; set; }
    Property Value
    Type Description
    PermissionStatus

    See Also

    UserPermissionToPost
    SETTING_POST_NOTIFICATIONS_PERMISSION
    概要
    • Constructors
      • PermissionRequest()
    • Properties
      • Status
    • See Also
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)