Bug 11844 - ExifInterface doesn't implement orientation constants
Summary: ExifInterface doesn't implement orientation constants
Status: RESOLVED FEATURE
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.6.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2013-04-18 07:44 UTC by Dave Wright
Modified: 2013-06-21 05:02 UTC (History)
3 users (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 FEATURE

Description Dave Wright 2013-04-18 07:44:22 UTC
In the Android documentation:

http://developer.android.com/reference/android/media/ExifInterface.html

there are interface constants for orientation values, e.g.:
ORIENTATION_ROTATE_90
ORIENTATION_FLIP_HORIZONTAL
etc.

Typing "ExifInterface." in Xamarin Studio brings up a list of all the tag options (e.g. TagFlash, TagIso) but not the constants, so in my code I'm currently forced to write "case 6:" instead of a much nicer "case ExifInterface.OrientationRotate90" or equivalent.
Comment 1 Ben Dodson 2013-05-24 00:32:31 UTC
The constant is Android.Media.Orientation.Rotate90. It took me a bit to find the constants as well, the Assembly Browser got me my answer.