Class DirectoryStatus

java.lang.Object
com.codename1.call.directory.DirectoryStatus

public final class DirectoryStatus extends Object

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.

  • 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.