isAvailable()
Determines whether location service functionality is available.
None.
Returns true when used on a supported device, and false otherwise.
Use this function to disable or hide location-based features on platforms where location services aren’t supported. For example:
See Also