CriticalSound extension type

Represents a critical sound configuration that can be included in the aps dictionary of an APNs payload.

on
Implemented types
Available extensions

Constructors

CriticalSound({bool? critical, String? name, num? volume})
Constructor

Properties

critical bool?
The critical alert flag. Set to true to enable the critical alert.
no setter
hashCode int
The hash code for this object.
no setterinherited
name 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.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume num?
The volume for the critical alert's sound. Must be a value between 0.0 (silent) and 1.0 (full volume).
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited