Class PushApi.Kind

  • Enclosing interface:
    PushApi

    public static class PushApi.Kind
    extends Object
    Kind of the push rules.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String CONTENT
      These configure behaviour for (unencrypted) messages that match certain patterns.
      static String OVERRIDE
      The highest priority rules are user-configured overrides.
      static String ROOM
      These rules change the behaviour of all messages for a given room.
      static String SENDER
      These rules configure notification behaviour for messages from a specific Matrix user ID.
      static String UNDERRIDE
      These are identical to override rules, but have a lower priority than content, room and sender rules.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Kind()  
    • Field Detail

      • OVERRIDE

        public static final String OVERRIDE
        The highest priority rules are user-configured overrides.
        See Also:
        Constant Field Values
      • UNDERRIDE

        public static final String UNDERRIDE
        These are identical to override rules, but have a lower priority than content, room and sender rules.
        See Also:
        Constant Field Values
      • SENDER

        public static final String SENDER
        These rules configure notification behaviour for messages from a specific Matrix user ID. The rule_id of Sender rules is always the Matrix user ID of the user whose messages they'd apply to.
        See Also:
        Constant Field Values
      • ROOM

        public static final String ROOM
        These rules change the behaviour of all messages for a given room. The rule_id of a room rule is always the ID of the room that it affects.
        See Also:
        Constant Field Values
      • CONTENT

        public static final String CONTENT
        These configure behaviour for (unencrypted) messages that match certain patterns. Content rules take one parameter: pattern, that gives the glob pattern to match against. This is treated in the same way as pattern for event_match.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Kind

        protected Kind()