Stay organized with collections
Save and categorize content based on your preferences.
Firebase.Messaging.MessagingOptions
A class to configure the behavior of Firebase Cloud Messaging.
Summary
This class contains various configuration options that control some of Firebase Cloud Messaging's behavior.
Properties
SuppressNotificationPermissionPrompt
bool SuppressNotificationPermissionPrompt
Public functions
MessagingOptions
MessagingOptions()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-24 UTC.
[null,null,["Last updated 2025-07-24 UTC."],[],[],null,["# Firebase.Messaging.MessagingOptions Class Reference\n\nFirebase.Messaging.MessagingOptions\n===================================\n\nA class to configure the behavior of [Firebase](/docs/reference/unity/namespace/firebase#namespace_firebase) Cloud [Messaging](/docs/reference/unity/namespace/firebase/messaging#namespace_firebase_1_1_messaging).\n\nSummary\n-------\n\nThis class contains various configuration options that control some of [Firebase](/docs/reference/unity/namespace/firebase#namespace_firebase) Cloud [Messaging](/docs/reference/unity/namespace/firebase/messaging#namespace_firebase_1_1_messaging)'s behavior.\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MessagingOptions](#class_firebase_1_1_messaging_1_1_messaging_options_1adb5d0594418396a0092849c351a4026e)`()` ||\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------------------------------------------|--------|\n| [SuppressNotificationPermissionPrompt](#class_firebase_1_1_messaging_1_1_messaging_options_1a154173c296d2ba482a3fdea1aacbd597) | `bool` |\n\nProperties\n----------\n\n### SuppressNotificationPermissionPrompt\n\n```c#\nbool SuppressNotificationPermissionPrompt\n``` \n\nPublic functions\n----------------\n\n### MessagingOptions\n\n```c#\n MessagingOptions()\n```"]]