The name of a sound file in the app's main bundle or in the Library/Sounds folder of the app's container directory. Specify the string "default" to play the system sound.
The volume for the critical alert's sound. Must be a value between 0.0 (silent) and 1.0 (full volume).
CriticalSound.critical
The critical alert flag. Set to true to enable the critical alert.
Signature:
critical?:boolean;
CriticalSound.name
The name of a sound file in the app's main bundle or in the Library/Sounds folder of the app's container directory. Specify the string "default" to play the system sound.
Signature:
name:string;
CriticalSound.volume
The volume for the critical alert's sound. Must be a value between 0.0 (silent) and 1.0 (full volume).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-29 UTC."],[],[],null,["# CriticalSound interface\n\nRepresents a critical sound configuration that can be included in the `aps` dictionary of an APNs payload.\n\n**Signature:** \n\n export interface CriticalSound \n\nProperties\n----------\n\n| Property | Type | Description |\n|-------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [critical](./firebase-admin.messaging.criticalsound.md#criticalsoundcritical) | boolean | The critical alert flag. Set to `true` to enable the critical alert. |\n| [name](./firebase-admin.messaging.criticalsound.md#criticalsoundname) | string | The name of a sound file in the app's main bundle or in the `Library/Sounds` folder of the app's container directory. Specify the string \"default\" to play the system sound. |\n| [volume](./firebase-admin.messaging.criticalsound.md#criticalsoundvolume) | number | The volume for the critical alert's sound. Must be a value between 0.0 (silent) and 1.0 (full volume). |\n\nCriticalSound.critical\n----------------------\n\nThe critical alert flag. Set to `true` to enable the critical alert.\n\n**Signature:** \n\n critical?: boolean;\n\nCriticalSound.name\n------------------\n\nThe name of a sound file in the app's main bundle or in the `Library/Sounds` folder of the app's container directory. Specify the string \"default\" to play the system sound.\n\n**Signature:** \n\n name: string;\n\nCriticalSound.volume\n--------------------\n\nThe volume for the critical alert's sound. Must be a value between 0.0 (silent) and 1.0 (full volume).\n\n**Signature:** \n\n volume?: number;"]]