IviServiceNullableMirrorableMapPropertyDelegate
class IviServiceNullableMirrorableMapPropertyDelegate<K, V>(lifecycleOwner: LifecycleOwner, listener: MirrorableMapListenerForwarder<K, V>, observer: ChangeHandler<MirrorableMap<K, V>?>) : IviServicePropertyDelegate<MirrorableMap<K, V>?>
Property delegate for nullable IVI service MirrorableMap properties.
Same as IviServiceNonNullMirrorableMapPropertyDelegate but for nullable properties. The IviServiceBase does not check nullable properties. When the property changes, the listener is registered to it with its associate lifecycleOwner.
For non-null MirrorableMap properties, see IviServiceNonNullMirrorableMapPropertyDelegate
Constructors
Link copied to clipboard
constructor(lifecycleOwner: LifecycleOwner, listener: MirrorableMapListenerForwarder<K, V>, observer: ChangeHandler<MirrorableMap<K, V>?>)
Properties
Link copied to clipboard
When not null
, this callback is invoked after an IVI service interface property has changed and the new value is propagated to clients.
Link copied to clipboard
When not null
, this callback is invoked when an IVI service interface property has changed, before the actual property value is changed and the new value is propagated to clients.