Class MailNotes

java.lang.Object
com.aurelienpierre.sioul.MailNotes

final class MailNotes extends Object
New mail at the times it may come (docs/porch.md, "Notifications"; Rust decides what and when: crates/sioul-app/src/mailnote.rs): one notification for a batch, "Two letters", the first senders with their subjects below, the next batch in its place. The "New mail" channel, at low importance: no sound, no banner, yours to change in Android's settings. A batch with someone Always through in it (Rust's `through`), while one of Sioul's modes silences the phone: its twin that passes do-not-disturb, at Android's default importance (its sound, no banner), made then (PauseMode). A tap, or Open, brings Sioul up on the Porch (ReminderOpener). On the lock screen, the count alone. From any process: the window's, or the one that fetches mail while Sioul is away.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final String
    The "New mail" channel.
    private static final long
    Gone from the shade after half a day: the Porch keeps the mail.
    private static final int
     
    private static final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static void
    show(Context context, String json)
    Rust's notification: JSON {title, body, through, words {mail, mail-through, open}}.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait