Class AVAudioSessionPortOverride


  • public final class AVAudioSessionPortOverride
    extends java.lang.Object
    For use with overrideOutputAudioPort:error:
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long None
      No override.
      static long Speaker
      Route audio output to speaker.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • None

        public static final long None
        No override. Return audio routing to the default state for the current audio category.
        See Also:
        Constant Field Values
      • Speaker

        public static final long Speaker
        Route audio output to speaker. Use this override with AVAudioSessionCategoryPlayAndRecord, which by default routes the output to the receiver.
        See Also:
        Constant Field Values