• 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: Interrupted by SIRI before registering interruption callback.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interrupted by SIRI before registering interruption callback.


  • Subject: Re: Interrupted by SIRI before registering interruption callback.
  • From: Anthony Myatt <email@hidden>
  • Date: Wed, 29 Oct 2014 11:14:41 +1100

Hello Beinan,

I haven’t tested this, but I suspect that when you call “ [[AVAudioSession sharedInstance] setActive:YES error:&error] “, that it would return NO and ‘error’ would contain the code AVAudioSessionErrorCodeSiriIsRecording.


Regards,

Anthony


> On 29 Oct 2014, at 6:28 am, Beinan Li <email@hidden> wrote:
>
> Hello CoreAudio:
>
> My app can be interrupted by SIRI before registering an interruption notification using AVAudioSession. The route-change notification is not registered at the time either.
>
> The app needs to tell the difference between waking up from SIRI's interruption
> and something else. So I need an indicator or notification related to SIRI.
>
> According to Xcode doc, there is only an error code: AVAudioSessionErrorCodeSiriIsRecording related to SIRI in the AudioSession support. And I don't even know how to retrieve it.
>
> Is there a way get more info on the SIRI status at runtime?
>
> Thanks,
> Beinan
>
> _______________________________________________
> 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


  • Follow-Ups:
    • Re: Interrupted by SIRI before registering interruption callback.
      • From: Beinan Li <email@hidden>
References: 
 >Interrupted by SIRI before registering interruption callback. (From: Beinan Li <email@hidden>)

  • Prev by Date: Interrupted by SIRI before registering interruption callback.
  • Next by Date: Re: Interrupted by SIRI before registering interruption callback.
  • Previous by thread: Interrupted by SIRI before registering interruption callback.
  • Next by thread: Re: Interrupted by SIRI before registering interruption callback.
  • Index(es):
    • Date
    • Thread