fireCallEvent method

void fireCallEvent(
  1. CallEvent event
)

Implementation

void fireCallEvent(CallEvent event) {
  onCallEventChanged.add(event);
  Logs().i('CallEvent: ${event.toString()}');
  switch (event) {
    case CallEvent.kFeedsChanged:
      onCallStreamsChanged.add(this);
      break;
    case CallEvent.kState:
      Logs().i('CallState: ${state.toString()}');
      break;
    case CallEvent.kError:
      break;
    case CallEvent.kHangup:
      break;
    case CallEvent.kReplaced:
      break;
    case CallEvent.kLocalHoldUnhold:
      break;
    case CallEvent.kRemoteHoldUnhold:
      break;
    case CallEvent.kAssertedIdentityChanged:
      break;
  }
}