• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone silent switch state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone silent switch state


  • Subject: Re: iPhone silent switch state
  • From: William Stewart <email@hidden>
  • Date: Tue, 31 Mar 2009 16:32:03 -0700

There is no way to get this state currently... we also don't provide any feedback from our apps if the ringer switch is on

Bill

On Mar 31, 2009, at 3:18 PM, Bruce Meagher wrote:

Hi all,

Is there an API that reports the state of the silent switch on the iphone? Currently I'm setting kAudioSessionProperty_AudioCategory to kAudioSessionCategory_UserInterfaceSoundEffects and the audio obeys they silent switch (which I want). I can over ride the silent switch by setting it to kAudioSessionCategory_MediaPlayback, but all I want is the ability to know the state of the switch so I can have a visual indicator on my app to provide feedback to the user when they try to play a sound.

I couldn't find anything in the mail archive, and it seems so simple that I must be missing something.

Any pointers?

Bruce
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >iPhone silent switch state (From: Bruce Meagher <email@hidden>)

  • Prev by Date: iPhone silent switch state
  • Next by Date: ExtAudioFileSeek and ExtAudioFileTell?
  • Previous by thread: iPhone silent switch state
  • Next by thread: ExtAudioFileSeek and ExtAudioFileTell?
  • Index(es):
    • Date
    • Thread