Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,15 @@ public interface IPIntelligenceData extends AspectData
*/
AspectPropertyValue<Float> getLatitude();
/**
* The confidence in the town and country provided.
* The confidence in the town and country provided. Returns one of High, Medium, Low, or Unknown. The confidence must be checked before using the returned location values.
* <p>
* Possible values:
* <pre>
* High High confidence results can be relied upon and considered useful for all practical purposes.
* Medium Medium confidence results might be useful where the use case can tolerate a degree of inaccuracy.
* Low Low confidence results should be discarded when the results might be used to make consequential decisions.
* Unknown Unknown confidence results should be treated in the same way as Low and discarded when the results might be used to m...
* </pre>
*/
AspectPropertyValue<String> getLocationConfidence();
/**
Expand Down Expand Up @@ -233,7 +241,7 @@ public interface IPIntelligenceData extends AspectData
*/
AspectPropertyValue<String> getTimeZoneIana();
/**
* The offset from UTC in minutes in the supplied location, at the time that the value is produced. A value of -1 indicates unknown.
* The offset from UTC in minutes in the supplied location, at the time that the value is produced. A value of -1 means the offset is unknown and is only returned when no location can be determined for the IP address. Real offsets are whole multiples of 15 minutes, so -1 never collides with a genuine value.
*/
AspectPropertyValue<Integer> getTimeZoneOffset();
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,15 @@ protected IPIntelligenceDataBase(
@Override
public AspectPropertyValue<Float> getLatitude() { return getAs("latitude", AspectPropertyValue.class, Float.class); }
/**
* The confidence in the town and country provided.
* The confidence in the town and country provided. Returns one of High, Medium, Low, or Unknown. The confidence must be checked before using the returned location values.
* <p>
* Possible values:
* <pre>
* High High confidence results can be relied upon and considered useful for all practical purposes.
* Medium Medium confidence results might be useful where the use case can tolerate a degree of inaccuracy.
* Low Low confidence results should be discarded when the results might be used to make consequential decisions.
* Unknown Unknown confidence results should be treated in the same way as Low and discarded when the results might be used to m...
* </pre>
*/
@SuppressWarnings("unchecked")
@Override
Expand Down Expand Up @@ -345,7 +353,7 @@ protected IPIntelligenceDataBase(
@Override
public AspectPropertyValue<String> getTimeZoneIana() { return getAs("timezoneiana", AspectPropertyValue.class, String.class); }
/**
* The offset from UTC in minutes in the supplied location, at the time that the value is produced. A value of -1 indicates unknown.
* The offset from UTC in minutes in the supplied location, at the time that the value is produced. A value of -1 means the offset is unknown and is only returned when no location can be determined for the IP address. Real offsets are whole multiples of 15 minutes, so -1 never collides with a genuine value.
*/
@SuppressWarnings("unchecked")
@Override
Expand Down
Loading