• 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: Beinan Li <email@hidden>
  • Date: Tue, 28 Oct 2014 15:35:26 -0400

Ok, I got it. If SIRI kicks in during audio session initialization, some
AVAudioSession methods will return an error code 'siri' or
AVAudioSessionErrorCodeSiriIsRecording. If the session is initialized with
success, then I can rely on the interruption notification.

Sorry for the fuss.

Thanks,
Beinan


On Tue, Oct 28, 2014 at 3:28 PM, Beinan Li <email@hidden> wrote:

> Hello CocoaDev:
>
> 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
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to 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: NSMenuDelegate - menuNeedsUpdate:(NSMenu *): can I get key(s) pressed?
  • Previous by thread: Interrupted by SIRI before registering interruption callback.
  • Next by thread: App store rejection, inappropriate sandboxing
  • Index(es):
    • Date
    • Thread