AndroidInboxStyle
Expanded Android notification layout showing a list of text lines.
Android displays up to seven lines in this layout. Supply a shorter summary as the
normal notification body for the collapsed view.
Raises:
- ValueError - If
linesis empty.
Inherits: AndroidStyle
Properties
content_title- Optional replacement title for the expanded layout.lines- Nonempty list of lines to display when the notification is expanded.summary_text- Optional summary displayed below the expanded lines.
Properties
content_titleclass-attributeinstance-attribute
content_title: str | None = NoneOptional replacement title for the expanded layout.
linesclass-attributeinstance-attribute
lines: list[str] = field(default_factory=list)Nonempty list of lines to display when the notification is expanded.
summary_textclass-attributeinstance-attribute
summary_text: str | None = NoneOptional summary displayed below the expanded lines.