Skip to content

Commit

Permalink
fix: added value REQUEST_DENIED to StreetViewUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso committed Oct 9, 2023
1 parent 46bca38 commit 6f37158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The StreetViewUtil class provides functionality to check whether a location is s
StreetViewUtils.fetchStreetViewData(LatLng(8.1425918, 11.5386121), BuildConfig.MAPS_API_KEY)
```

`fetchStreetViewData` will return `NOT_FOUND`, `OK` or `ZERO_RESULTS`, depending on the response.
`fetchStreetViewData` will return `NOT_FOUND`, `OK`, `ZERO_RESULTS` or `REQUEST_DENIED`, depending on the response.

</details>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ data class ResponseStreetView(val status: Status)
enum class Status {
OK,
ZERO_RESULTS,
NOT_FOUND
NOT_FOUND,
REQUEST_DENIED
}

0 comments on commit 6f37158

Please sign in to comment.