Bug 36714 - ContactsContract.CommonDataKinds.Event.TYPE_BIRTHDAY is missing
Summary: ContactsContract.CommonDataKinds.Event.TYPE_BIRTHDAY is missing
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 6.0.0
Hardware: PC Mac OS
: Lowest normal
Target Milestone: master
Assignee: Atsushi Eno
Depends on:
Reported: 2015-12-08 15:10 UTC by John Miller [MSFT]
Modified: 2016-09-21 10:42 UTC (History)
4 users (show)

Tags: XATriaged
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:

Description John Miller [MSFT] 2015-12-08 15:10:33 UTC
ContactsContract.CommonDataKinds.Event.TYPE_BIRTHDAY seems to be missing from the API. 

See: http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Event.html#TYPE_BIRTHDAY

Workaround: Use the value "3".
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2016-02-23 19:33:11 UTC
I believe those values are mapped into the `Android.Provider.EventDataKind` enumeration.

## Excerpt from https://developer.xamarin.com/api/type/Android.Provider.ContactsContract+CommonDataKinds+Event/

> You can use all columns defined for ContactsContract+Data as well as
> the following aliases.

> - ContactsContract+CommonDataKinds+BaseTypes.TypeCustom. Put the
>   actual type in ContactsContract+CommonDataKinds+CommonColumns.Label.
> - EventDataKind.Anniversary
> - EventDataKind.Other
> - EventDataKind.Birthday
Comment 2 dean.ellis 2016-09-21 10:42:57 UTC
Looking at the bindings it does look like this has been remapped to EventDataKind (which has the value of 3). 
Closing this as a "feature". please reopen if you think this is incorrect.