singleUser

val singleUser: Boolean = false

Parameters

singleUser

If true, Android will instantiate that service host in a process running as user 0 only. Any requests to connect to this service host, from any user will be routed to the process in user 0. Cannot be used in combination with requiresMainProcess. If false, the service host will run in a process specific for each user. See Building Multiuser-Aware Apps for more information.