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