Package org.matrix.android.sdk.api.session.pushrules

Types

Link copied to clipboard
sealed class Action
Link copied to clipboard
interface Condition
Link copied to clipboard
interface ConditionResolver

Acts like a visitor on Conditions. This class as all required context needed to evaluate rules

Link copied to clipboard
class ContainsDisplayNameCondition : Condition
Link copied to clipboard
class EventMatchCondition(val key: String, val pattern: String) : Condition
Link copied to clipboard
enum Kind : Enum<Kind>
Link copied to clipboard
data class PushEvents(    val matchedEvents: List<Pair<Event, PushRule>>,     val roomsJoined: Collection<String>,     val roomsLeft: Collection<String>,     val redactedEventIds: List<String>)
Link copied to clipboard
interface PushRuleService
Link copied to clipboard
class RoomMemberCountCondition(val iz: String) : Condition
Link copied to clipboard
object RuleIds

Known rule ids

Link copied to clipboard
typealias RuleKind = RuleSetKey

Ref: https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-pushrules-scope-kind-ruleid

Link copied to clipboard
object RuleScope
Link copied to clipboard
enum RuleSetKey : Enum<RuleSetKey>

Ref: https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-pushrules

Link copied to clipboard
class SenderNotificationPermissionCondition(val key: String) : Condition

Functions

Link copied to clipboard
fun PushRule.getActions(): List<Action>
Link copied to clipboard
fun List<Action>.toJson(): List<Any>

Ref: https://matrix.org/docs/spec/client_server/latest#actions.