void changeState(CallState state, Call call) { // You can add any additional logic here before invoking the callback call.callState = state; onCallStateChanged(state); }