Java android.media ExifInterface fields, constructors, methods, implement or subclass

Example usage for Java android.media ExifInterface fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media ExifInterface.

The text is from its open source code.

Field

StringTAG_ARTIST
Type is String.
StringTAG_DATETIME
Type is String.
StringTAG_IMAGE_LENGTH
Type is int.
StringTAG_IMAGE_WIDTH
Type is int.
StringTAG_MAKE
Type is String.
StringTAG_MODEL
Type is String.
StringTAG_ORIENTATION
Type is int.
StringTAG_RESOLUTION_UNIT
Type is int.
StringTAG_APERTURE_VALUE
Type is rational.
StringTAG_DATETIME_DIGITIZED
Type is String.
StringTAG_DATETIME_ORIGINAL
Type is String.
StringTAG_EXPOSURE_TIME
Type is double.
StringTAG_F_NUMBER
Type is double.
StringTAG_APERTURE
Type is double.
StringTAG_FLASH
Type is int.
StringTAG_FOCAL_LENGTH
Type is rational.
StringTAG_ISO_SPEED_RATINGS
Type is int.
StringTAG_ISO
Type is int.
StringTAG_MAKER_NOTE
Type is String.
StringTAG_WHITE_BALANCE
Type is int.
StringTAG_GPS_ALTITUDE
The altitude (in meters) based on the reference in TAG_GPS_ALTITUDE_REF.
StringTAG_GPS_ALTITUDE_REF
0 if the altitude is above sea level.
StringTAG_GPS_DATESTAMP
Type is String.
StringTAG_GPS_LATITUDE
Type is rational.
StringTAG_GPS_LATITUDE_REF
Type is String.
StringTAG_GPS_LONGITUDE
Type is rational.
StringTAG_GPS_LONGITUDE_REF
Type is String.
StringTAG_GPS_PROCESSING_METHOD
Type is String.
StringTAG_GPS_TIMESTAMP
Type is String.
intORIENTATION_UNDEFINED
intORIENTATION_NORMAL
intORIENTATION_FLIP_HORIZONTAL
intORIENTATION_ROTATE_180
intORIENTATION_FLIP_VERTICAL
intORIENTATION_TRANSPOSE
intORIENTATION_ROTATE_90
intORIENTATION_TRANSVERSE
intORIENTATION_ROTATE_270

Constructor

ExifInterface(String filename)
Reads Exif tags from the specified image file.
ExifInterface(FileDescriptor fileDescriptor)
Reads Exif tags from the specified image file descriptor.
ExifInterface(InputStream inputStream)
Reads Exif tags from the specified image input stream.

Method

StringgetAttribute(String tag)
Returns the value of the specified tag or null if there is no such tag in the image file.
intgetAttributeInt(String tag, int defaultValue)
Returns the integer value of the specified tag.
booleangetLatLong(float output[])
Stores the latitude and longitude value in a float array.
byte[]getThumbnail()
Returns the JPEG compressed thumbnail inside the image file, or null if there is no JPEG compressed thumbnail.
booleanhasThumbnail()
Returns true if the image file has a thumbnail.
voidsaveAttributes()
Save the tag data into the original image file.
voidsetAttribute(String tag, String value)
Set the value of the specified tag.