checkServiceStatus
Checks the current availability and state of a system service.
Return
The current ServiceStatus.
Parameters
service
The type of service to check (e.g., ServiceType.LOCATION_GPS).
Checks the current availability and state of a system service.
The current ServiceStatus.
The type of service to check (e.g., ServiceType.LOCATION_GPS).