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:

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
fun IviServicePropertyInitChecker(    serviceId: IviServiceId,     requiredProperties: Map<String, IviServiceNonNullPropertyDelegateBase<*>>,     onPropertiesInitializedCallback: () -> Unit)

Properties

Link copied to clipboard
val onPropertiesInitializedCallback: () -> Unit
Link copied to clipboard
Link copied to clipboard
val serviceId: IviServiceId

Functions

Link copied to clipboard
fun appendMissingPropertyNames(stringBuilder: StringBuilder)
Link copied to clipboard
fun assertRequiredPropertiesAreInitialized()
Link copied to clipboard
fun onCreate()
Link copied to clipboard
fun onPropertyChanged()