setCallState method

void setCallState(
  1. CallState newState
)

Implementation

void setCallState(CallState newState) {
  state = newState;
  onCallStateChanged.add(newState);
  fireCallEvent(CallEvent.kState);
}