IviServiceInterfaceConfig

data class IviServiceInterfaceConfig(    val serviceName: String,     val serviceId: String? = null,     val serviceApiModule: ModuleReference,     val multipleInstances: Boolean = false,     val subPackageName: String? = null) : Serializable

Defines an IVI service interface of an IviServiceHostConfig.

See IviServiceHostConfig for an example.

Constructors

Link copied to clipboard
fun IviServiceInterfaceConfig(    serviceName: String,     serviceId: String? = null,     serviceApiModule: ModuleReference,     multipleInstances: Boolean = false,     subPackageName: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val multipleInstances: Boolean = false

Denotes this interface as a multiple instance interface. If this set to true, the service implementation can be started for each IviInstanceIdentifier configured in the IVI application. If false, the service will run as a global instance.

Link copied to clipboard
val serviceApiModule: ModuleReference

The module that contains the IVI service interface: the Kotlin interface annotated with the IviService or IviDiscoverableService annotation.

Link copied to clipboard
val serviceId: String? = null

The service ID of the discoverable service when not null.

Link copied to clipboard
val serviceName: String

The IVI service name.

Link copied to clipboard
val subPackageName: String? = null

Optional sub package. If not null, this value is appended to the ModuleReference.packageName of the serviceApiModule property with a period in between.