IviServicePropertyInitChecker
class IviServicePropertyInitChecker(val serviceId: IviServiceId, val requiredProperties: Map<String, IviServiceNonNullPropertyDelegateBase<*>>, val onPropertiesInitializedCallback: () -> Unit)
Helper class to check if all properties are initialized.
Used by the generated <Interface>Base
classes to:
call IviServiceBase.onRequiredPropertiesInitialized after all non-null properties of an IVI service has been initialized or to call it when IviServiceBase.onCreate is called.
To check if all non-null properties of an IVI service has been initialized.
Parameters
serviceId
Service ID of the service.
requiredProperties
Map of all property delegate instances associated by the name of the property.
onPropertiesInitializedCallback
Called if all non-null properties are initialized.
Constructors
Link copied to clipboard
constructor(serviceId: IviServiceId, requiredProperties: Map<String, IviServiceNonNullPropertyDelegateBase<*>>, onPropertiesInitializedCallback: () -> Unit)