AndroidServiceDeploymentConfigurator

interface AndroidServiceDeploymentConfigurator

Interface to configure the deployment of one or more AndroidServiceConfigs.

Functions

Link copied to clipboard
abstract fun inMainProcess(): AndroidServiceDeploymentConfigurator

Configures the Android service to run in the main process of the application.

Link copied to clipboard
abstract fun inSameProcessAs(androidServiceConfig: AndroidServiceConfig): AndroidServiceDeploymentConfigurator

Configures the Android service to run in the same process as another Android service identified by androidServiceConfig. The androidServiceConfig needs to be deployed as part of the same RuntimeDeploymentConfigurator.Global runtime deployment with RuntimeDeploymentConfigurator.Global.deployAndroidService.

abstract fun inSameProcessAs(broadcastReceiverConfig: BroadcastReceiverConfig): AndroidServiceDeploymentConfigurator

Configures the Android service to run in the same process as a broadcast receiver identified by broadcastReceiverConfig. The broadcastReceiverConfig needs to be deployed as part of the same RuntimeDeploymentConfigurator.Global runtime deployment with RuntimeDeploymentConfigurator.Global.deployBroadcastReceiver.

abstract fun inSameProcessAs(iviServiceHostConfig: IviServiceHostConfig): AndroidServiceDeploymentConfigurator

Configures the Android service to run in the same process as the given iviServiceHostConfig. The iviServiceHostConfig must be deployed with the IviServiceConnectionType.BINDER connection type and must be deployed as part of the same RuntimeDeploymentConfigurator.Global runtime deployment with RuntimeDeploymentConfigurator.Global.deployServiceHost.

Link copied to clipboard
abstract fun withProcessName(name: String): AndroidServiceDeploymentConfigurator

Configures the name of the process that should host this Android service in.