BroadcastReceiverDeploymentConfigurator

interface BroadcastReceiverDeploymentConfigurator

Interface to configure the deployment of one or more BroadcastReceiverConfigs.

Functions

Link copied to clipboard
abstract fun inMainProcess(): BroadcastReceiverDeploymentConfigurator

Configures the broadcast receiver to run in the main process of the application.

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

Configures the broadcast receiver to run in the same process as an 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): BroadcastReceiverDeploymentConfigurator

Configures the broadcast receiver 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.

abstract fun inSameProcessAs(iviServiceHostConfig: IviServiceHostConfig): BroadcastReceiverDeploymentConfigurator

Configures the broadcast receiver 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): BroadcastReceiverDeploymentConfigurator

Configures the name of the process that should host this broadcast receiver in.