ActiveNotification
Snapshot of a delivered notification that has not been removed.
Returned by Notifications.get_active.
Availability of individual fields depends on the platform; unavailable values are
None. Modifying this object does not change the notification.
Properties
big_text- Expanded Android big-text content, orNonewhen unavailable.body- Displayed body text, orNonewhen unavailable.channel_id- Android notification-channel ID, orNonewhen unavailable.group_key- AndroidAndroidGroup.key, orNonewhen unavailable.id- Native notification identifier, orNonewhen unavailable.payload- Application payload when returned by the platform, otherwiseNone.tag- Android notification tag, orNonewhen unavailable.title- Displayed title, orNonewhen unavailable.
Properties
big_textclass-attributeinstance-attribute
big_text: str | None = NoneExpanded Android big-text content, or None when unavailable.
bodyclass-attributeinstance-attribute
body: str | None = NoneDisplayed body text, or None when unavailable.
channel_idclass-attributeinstance-attribute
channel_id: str | None = NoneAndroid notification-channel ID, or None when unavailable.
group_keyclass-attributeinstance-attribute
group_key: str | None = NoneAndroid AndroidGroup.key, or None when unavailable.
idclass-attributeinstance-attribute
id: int | None = NoneNative notification identifier, or None when unavailable.
payloadclass-attributeinstance-attribute
payload: str | None = NoneApplication payload when returned by the platform, otherwise None.
tagclass-attributeinstance-attribute
tag: str | None = NoneAndroid notification tag, or None when unavailable.
titleclass-attributeinstance-attribute
title: str | None = NoneDisplayed title, or None when unavailable.