eventTextListener property

EventTextListener? eventTextListener

Object to receive text notifications when they are available. Setting null value to the listener will unset the listener. It returns null when no listener is set by an user. Note: In order to receive the text notification emitted for the traffic merge warner, when TrafficMergeWarningOptions.enable_text_notification has been enabled, the sdk.navigation.EventTextListener must be enabled as well. Gets the listener that notifies when a text notification is available.

Implementation

EventTextListener? get eventTextListener;
void eventTextListener=(EventTextListener? value)

Object to receive text notifications when they are available. Setting null value to the listener will unset the listener. It returns null when no listener is set by an user. Note: In order to receive the text notification emitted for the traffic merge warner, when TrafficMergeWarningOptions.enable_text_notification has been enabled, the sdk.navigation.EventTextListener must be enabled as well. Sets the listener that notifies when a text notification is available.

Implementation

set eventTextListener(EventTextListener? value);