Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Messaging.CriticalSound
The sound configuration for APNs critical alerts.
Summary
Properties
|
Critical
|
bool
Gets or sets a value indicating whether to set the critical alert flag on the sound configuration.
|
Name
|
string
Gets or sets the name of the sound to be played.
|
Volume
|
double
Gets or sets the volume for the critical alert's sound.
|
Properties
Critical
bool Critical
Gets or sets a value indicating whether to set the critical alert flag on the sound configuration.
Name
string Name
Gets or sets the name of the sound to be played.
This should be a sound file in your app's main bundle or in the Library/Sounds
folder of your app's container directory. Specify the string default
to play the system sound.
Volume
double Volume
Gets or sets the volume for the critical alert's sound.
Must be a value between 0.0 (silent) and 1.0 (full volume).
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 2022-03-24 UTC.
[null,null,["Last updated 2022-03-24 UTC."],[],[],null,["# FirebaseAdmin.Messaging.CriticalSound Class Reference\n\nFirebaseAdmin.Messaging.CriticalSound\n=====================================\n\nThe sound configuration for APNs critical alerts.\n\nSummary\n-------\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [Critical](#class_firebase_admin_1_1_messaging_1_1_critical_sound_1aaed5bccc335f4f892f6431751586156b) | `bool` Gets or sets a value indicating whether to set the critical alert flag on the sound configuration. |\n| [Name](#class_firebase_admin_1_1_messaging_1_1_critical_sound_1a97d671611857eefb47a2d03b876a8a3e) | `string` Gets or sets the name of the sound to be played. |\n| [Volume](#class_firebase_admin_1_1_messaging_1_1_critical_sound_1afee82731e086ede1a7251370c63ebd9d) | `double` Gets or sets the volume for the critical alert's sound. |\n\nProperties\n----------\n\n### Critical\n\n```text\nbool Critical\n``` \nGets or sets a value indicating whether to set the critical alert flag on the sound configuration. \n\n### Name\n\n```text\nstring Name\n``` \nGets or sets the name of the sound to be played.\n\nThis should be a sound file in your app's main bundle or in the `Library/Sounds` folder of your app's container directory. Specify the string `default` to play the system sound. \n\n### Volume\n\n```text\ndouble Volume\n``` \nGets or sets the volume for the critical alert's sound.\n\nMust be a value between 0.0 (silent) and 1.0 (full volume)."]]