validateIOS method

void validateIOS()

Implementation

void validateIOS() {
  // Please create a custom [AudioContextIOS] if the generic flags cannot
  // represent your needs.
  if (respectSilence && forceSpeaker) {
    throw 'On iOS it is impossible to set both respectSilence and '
        'forceSpeaker';
  }
}