Class Replies.Act

java.lang.Object
com.aurelienpierre.sioul.Replies.Act
Enclosing class:
Replies

static final class Replies.Act extends Object
One action of a notification as the choice reads it: plain data, made on the phone from a Notification.Action or a car extender's bundle (Replies.found(android.app.Notification)), by hand in android/jvm-checks/RepliesCheck.java.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final boolean
    Its PendingIntent starts an activity: it would open the app on the phone, maybe under the lock screen.
    (package private) final boolean
    Its app asks that it be sent only from an unlocked phone (Notification.Action.isAuthenticationRequired).
    (package private) final boolean
    Added by the system or its assistant from the notification's words (an address to open): never the app's own.
    (package private) final int
    How many of its inputs take free text (each with its key), and whether it has inputs at all.
    (package private) final boolean
    Its PendingIntent: immutable, which would drop the words without a word from Android.
    (package private) final boolean
     
    (package private) final int
     
    (package private) final int
    What Android says it means (Notification.Action.getSemanticAction): 1 Reply, 2 Mark as read, 0 nothing said.
    (package private) final String
    Its title, as the app wrote it: never read by the choice.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Act(int place, int semantic, boolean contextual, int freeText, boolean inputs, boolean immutable, boolean activity, boolean authentication, String title)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • place

      final int place
    • semantic

      final int semantic
      What Android says it means (Notification.Action.getSemanticAction): 1 Reply, 2 Mark as read, 0 nothing said.
    • contextual

      final boolean contextual
      Added by the system or its assistant from the notification's words (an address to open): never the app's own.
    • freeText

      final int freeText
      How many of its inputs take free text (each with its key), and whether it has inputs at all.
    • inputs

      final boolean inputs
    • immutable

      final boolean immutable
      Its PendingIntent: immutable, which would drop the words without a word from Android.
    • activity

      final boolean activity
      Its PendingIntent starts an activity: it would open the app on the phone, maybe under the lock screen.
    • authentication

      final boolean authentication
      Its app asks that it be sent only from an unlocked phone (Notification.Action.isAuthenticationRequired).
    • title

      final String title
      Its title, as the app wrote it: never read by the choice.
  • Constructor Details

    • Act

      Act(int place, int semantic, boolean contextual, int freeText, boolean inputs, boolean immutable, boolean activity, boolean authentication, String title)