Class IPProtectionController.Country

Object
org.mozilla.geckoview.IPProtectionController.Country
Enclosing class:
IPProtectionController

public static class IPProtectionController.Country extends Object
A country available in the proxy serverlist.
  • Field Details

    • code

      @NonNull public final String code
      ISO 3166-1 alpha-2 country code.
    • available

      public final boolean available
      Whether the country has at least one available (non-quarantined) server.
  • Constructor Details

    • Country

      public Country(@NonNull String code, boolean available)
      Creates a country.
      Parameters:
      code - ISO 3166-1 alpha-2 country code.
      available - Whether the country has at least one available server.