Skip to main content

AndroidGroup

Group of related notifications bundled together in the Android notification tray.

Set it as AndroidOptions.group. Notifications sharing a key are bundled; one of them can act as the group's summary. This is distinct from a notification-channel group and from Apple threads (see DarwinOptions.thread_identifier).

Properties

  • alert_behavior - Which members of the group may sound or vibrate.
  • key - Identifier shared by every notification in the group.
  • summary - Whether this notification summarizes the other notifications in the group.

Properties​

alert_behaviorclass-attributeinstance-attribute​

Which members of the group may sound or vibrate.

Apply the same behavior to the group's children and summary for consistent results.

keyinstance-attribute​

key: str

Identifier shared by every notification in the group.

summaryclass-attributeinstance-attribute​

summary: bool = False

Whether this notification summarizes the other notifications in the group.