Package com.aurelienpierre.sioul
Class Calls.Table
java.lang.Object
com.aurelienpierre.sioul.Calls.Table
- Enclosing class:
Calls
The table as Rust wrote it (crates/sioul-core/src/calls.rs, `Table`).
-
Field Summary
FieldsModifier and TypeFieldDescriptionNumbers that always ring: emergency numbers and callbacks; `people`, from an older table only (the do-not-disturb list's).(package private) long(package private) Calls.PressExpecting a call, version 2.(package private) final List<Calls.Frame> (package private) longNumber keys → who: "safe", "neutral", "restricted", "blocked"; the people Always through, "always-" and their own state ("always-safe").A person's own row by each number it covers ("own-0"), read before their list's (decision 16).(package private) StringWho a number in this phone's contacts is when the table does not know it.The lists' prefixes ("+3346571") and who they make a number, the longest first.(package private) Calls.Region(package private) long(package private) Calls.ScreeningThe call screening, version 2; null in a table of version 1.(package private) Calls.Press"Let every call through", version 1.Country codes whose numbers drop a written trunk "0" ("+33 06…").(package private) intIts shape: 1 or 2. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringWho a prefix on your lists makes this number; null when none fits.(package private) Calls.FrameframeAt(long now) The frame `now` falls in; none before the first or past the last.(package private) static Calls.Tableof(JSONObject json) private static void
-
Field Details
-
made
long made -
region
-
trunkZero
Country codes whose numbers drop a written trunk "0" ("+33 06…"). -
numbers
Number keys → who: "safe", "neutral", "restricted", "blocked"; the people Always through, "always-" and their own state ("always-safe"). -
prefixes
The lists' prefixes ("+3346571") and who they make a number, the longest first. -
own
A person's own row by each number it covers ("own-0"), read before their list's (decision 16). -
phoneContacts
Who a number in this phone's contacts is when the table does not know it. -
emergency
Numbers that always ring: emergency numbers and callbacks; `people`, from an older table only (the do-not-disturb list's). -
people
-
v
int vIts shape: 1 or 2. -
through
"Let every call through", version 1. -
expecting
Expecting a call, version 2. -
screening
The call screening, version 2; null in a table of version 1. -
frames
-
repeatMs
long repeatMs -
emergencyMs
long emergencyMs
-
-
Constructor Details
-
Table
Table()
-
-
Method Details
-
of
- Throws:
JSONException
-
byPrefix
Who a prefix on your lists makes this number; null when none fits. -
frameAt
The frame `now` falls in; none before the first or past the last. -
strings
-