getPid

abstract fun getPid(): Int

Returns the process ID of Android service.