Bug 20447 - MPPlayableContentDelegate.PlayableContentManager should accept null completionHandler
Summary: MPPlayableContentDelegate.PlayableContentManager should accept null completio...
Status: RESOLVED DUPLICATE of bug 18846
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
URL:
Depends on:
Blocks:
 
Reported: 2014-06-06 18:58 UTC by Sebastien Pouliot
Modified: 2014-06-08 12:26 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 18846

Description Sebastien Pouliot 2014-06-06 18:58:02 UTC
The API I am using MPPlayableContentDelegate.PlayableContentManager takes in a completionHandler. That completionHandler can not be passed in null in Mono but the Apple docs state that the completion handler can take a null parameter if there was no error. 

https://developer.apple.com/library/ios/documentation/MediaPlayer/Reference/MPPlayableContentDelegate_Ref/Reference/Reference.html#//apple_ref/occ/intfm/MPPlayableContentDelegate/playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:
Comment 1 Sebastien Pouliot 2014-06-08 12:26:54 UTC
The null for for blocks was fixed in 0bb8ffa3e971ce7b4472c7f836587c7ba7c7124e and will be part of our next maintenance release

*** This bug has been marked as a duplicate of bug 18846 ***