public final class DirectoryStatus
- Object
- DirectoryStatus
What the system currently thinks of this app’s caller-identification data.
Worth reading after CallDirectory.reload(), because the extension that
consumes the data runs in a different process on iOS and can reject it
long after the call that installed it returned successfully.
Methods
public boolean isEnabled() | Whether the user has switched this app’s caller identification on. |
public int getEntryCount() | How many entries the system has, or -1 when it does not say. |
public String getMessage() | What the platform said about the last load, or null. |
Inherited methods
Method details
isEnabled
public boolean isEnabled()Whether the user has switched this app’s caller identification on.
It is off by default on iOS and the user has to enable it in Settings; an app whose numbers never appear has usually not been enabled rather than failed.
getEntryCount
public int getEntryCount()How many entries the system has, or -1 when it does not say.
getMessage
public String getMessage()What the platform said about the last load, or null.