Bug 44663 - HKWorkoutSession (watchOS only, not in Xam.iOS) has no API stubs
Summary: HKWorkoutSession (watchOS only, not in Xam.iOS) has no API stubs
Alias: None
Product: iOS
Classification: Xamarin
Component: Documentation ()
Version: XI 10.0 (iOS10)
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Joel Martinez
Depends on:
Reported: 2016-09-22 23:34 UTC by Larry O'Brien
Modified: 2018-03-12 19:31 UTC (History)
4 users (show)

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 for Bug 44663 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Larry O'Brien 2016-09-22 23:34:57 UTC
We do not have API EcmaDoc XML stubs in ios-api-docs for HKWorkoutSession, which is declared as:

[Register ("HKWorkoutSession", true), Introduced (PlatformName.WatchOS, 2, 0, PlatformArchitecture.None, null), Unavailable (PlatformName.iOS, PlatformArchitecture.All, null)]
	public class HKWorkoutSession : NSObject, INSCoding, INSSecureCoding, INativeObject, IDisposable

I'm not sure if this is intended behavior or requires a modification in `mdoc update` but we certainly need to document it somewhere. 

I suspect that this problem might also exist for other classes that are not available under iOS?
Comment 1 Alex Soto [MSFT] 2016-09-23 03:33:00 UTC
Added a trello card to discuss this in our call https://trello.com/c/T9QzCueE
Comment 2 Joel Martinez 2016-09-23 13:18:53 UTC
There is a batch of work happening in early October, that will result in the addition of these APIs (in addition to tvOS, and macOS). The repository will likely be renamed something like `macios-api-docs` in the process.