Interface DittoTransportConditionChangedCallback
public interface DittoTransportConditionChangedCallback
Callback interface for monitoring transport condition changes.
Implement this interface to be notified when the operational condition of a Ditto transport changes, such as when a transport becomes available or unavailable.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonTransportConditionDidChange(@NonNull DittoTransportCondition condition, @NonNull DittoConditionSource subsystem) Called when a transport's operational condition changes.
-
Method Details
-
onTransportConditionDidChange
void onTransportConditionDidChange(@NonNull DittoTransportCondition condition, @NonNull DittoConditionSource subsystem) Called when a transport's operational condition changes.
This method is invoked whenever a transport's condition changes, allowing you to respond to connectivity issues or status updates.
- Parameters:
condition- the newDittoTransportConditionof the transport.subsystem- theDittoConditionSourceidentifying which transport subsystem changed.
-