getSystemService

inline fun <T : Any> Context.getSystemService(): T?

Return the handle to a system-level service by class.

See also