isAvailable()
Use this function to determine whether ContactsService functionality is available.
None.
Returns true
when used on a supported device and false
otherwise.
Use this function to disable or hide contacts-related features on platforms where contacts aren’t supported. For example:
See Also