IviServiceHostDeploymentConfigurator

Interface to configure the deployment of one or more IviServiceHostConfigs.

The interface allows a fluent interface / method chaining style to configure the deployment. See RuntimeDeploymentConfigurator for an example.

Functions

Link copied to clipboard

Configures the hosts to use the IviServiceConnectionType.BINDER as connection type.

Link copied to clipboard

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

Link copied to clipboard

Configures the service host 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.

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

Configures the service host 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 with RuntimeDeploymentConfigurator.deployServiceHost.

Link copied to clipboard
abstract fun withProcessName(name: String, withDefaultPrefix: Boolean = true, withDefaultSuffix: Boolean = true): IviServiceHostDeploymentConfigurator

Configures the name of the process that should be used to run this service host in.