Interface MamaSourceStateChangeListener


  • public interface MamaSourceStateChangeListener
    Applications can register with MamaSourceGroup to receive state change notifications when the state of sources within the group has changed.
    • Method Detail

      • onStateChanged

        void onStateChanged​(MamaSourceGroup sourceGroup,
                            MamaSource topWeightSource,
                            java.lang.Object closure)
        Parameters:
        sourceGroup - The source group notifying the applications.
        topWeightSource - The top weight source in the group. Determined when _reevaluate() is called.
        closure - User supplied data.