Forums - iOS AllPlay SDK notifications

2 posts / 0 new
Last post
iOS AllPlay SDK notifications
mgracanin
Join Date: 12 Oct 15
Posts: 2
Posted: Mon, 2015-10-12 03:54

Hi all,

I have a problem with delegate method: allPlayController:didChangeAllPlayAvailability: it doesn't get called every time when property numberOfAvailableAllPlayPlayers changes (from 0 to some n).

Is this a bug?

Also, that property is not observable (ivar is probably set directly).

Thanks!

 

  • Up0
  • Down0
daniel.tai Moderator
Join Date: 19 Oct 15
Location: San Jose
Posts: 32
Posted: Tue, 2015-10-20 20:27

Hi,

allPlayController:didChangeAllPlayAvailability is only called when there is any AllPlay player on the network or not.  If you received (BOOL)availability as YES, that means there is at least 1 AllPlay player detected; AllPlay button will be shown (By default hidden).  If (BOOL)availibility is NO, then it means there is no AllPlay player detected; AllPlay button will be hidden.

Hope this helps.

Thanks

Daniel

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.