Class of android.media · ExifInterface.java · Android's reference
public class ExifInterface
The Exif tags of a JPEG file: the TIFF entries of its APP1 segment, from IFD0 and the Exif IFD. Other files have no tags here.
public static final String TAG_ORIENTATION = "Orientation" sourcepublic static final String TAG_IMAGE_WIDTH = "ImageWidth" sourcepublic static final String TAG_IMAGE_LENGTH = "ImageLength" sourcepublic static final String TAG_MAKE = "Make" sourcepublic static final String TAG_MODEL = "Model" sourcepublic static final String TAG_DATETIME = "DateTime" sourcepublic static final String TAG_DATETIME_ORIGINAL = "DateTimeOriginal" sourcepublic static final String TAG_PIXEL_X_DIMENSION = "PixelXDimension" sourcepublic static final String TAG_PIXEL_Y_DIMENSION = "PixelYDimension" sourcepublic static final String TAG_SOFTWARE = "Software" sourcepublic static final String TAG_FLASH = "Flash" sourcepublic static final String TAG_WHITE_BALANCE = "WhiteBalance" sourcepublic static final int ORIENTATION_UNDEFINED = 0 sourcepublic static final int ORIENTATION_NORMAL = 1 sourcepublic static final int ORIENTATION_FLIP_HORIZONTAL = 2 sourcepublic static final int ORIENTATION_ROTATE_180 = 3 sourcepublic static final int ORIENTATION_FLIP_VERTICAL = 4 sourcepublic static final int ORIENTATION_TRANSPOSE = 5 sourcepublic static final int ORIENTATION_ROTATE_90 = 6 sourcepublic static final int ORIENTATION_TRANSVERSE = 7 sourcepublic static final int ORIENTATION_ROTATE_270 = 8 sourcepublic ExifInterface(String filename) throws IOException sourcepublic ExifInterface(File file) throws IOException sourcepublic ExifInterface(FileDescriptor fileDescriptor) throws IOException sourcepublic ExifInterface(InputStream inputStream) throws IOException sourcepublic String getAttribute(String tag) sourcepublic boolean hasAttribute(String tag) sourcepublic int getAttributeInt(String tag, int defaultValue) sourcepublic double getAttributeDouble(String tag, double defaultValue) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.