ExifInterface ExifInterface Class

Definition

This is a class for reading and writing Exif tags in a JPEG file.

[Android.Runtime.Register("android/media/ExifInterface", ApiSince=5, DoNotGenerateAcw=true)]
public class ExifInterface : Java.Lang.Object
type ExifInterface = class
    inherit Object
Inheritance
ExifInterfaceExifInterface
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

ExifInterface(FileDescriptor) ExifInterface(FileDescriptor)
ExifInterface(IntPtr, JniHandleOwnership) ExifInterface(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ExifInterface(Stream) ExifInterface(Stream)
ExifInterface(String) ExifInterface(String)

Reads Exif tags from the specified JPEG file.

Fields

TagAperture TagAperture

Type is String.

TagApertureValue TagApertureValue
TagArtist TagArtist
TagBitsPerSample TagBitsPerSample
TagBrightnessValue TagBrightnessValue
TagCfaPattern TagCfaPattern
TagColorSpace TagColorSpace
TagComponentsConfiguration TagComponentsConfiguration
TagCompressedBitsPerPixel TagCompressedBitsPerPixel
TagCompression TagCompression
TagContrast TagContrast
TagCopyright TagCopyright
TagCustomRendered TagCustomRendered
TagDatetime TagDatetime

Type is String.

TagDatetimeDigitized TagDatetimeDigitized
TagDatetimeOriginal TagDatetimeOriginal
TagDefaultCropSize TagDefaultCropSize
TagDeviceSettingDescription TagDeviceSettingDescription
TagDigitalZoomRatio TagDigitalZoomRatio
TagDngVersion TagDngVersion
TagExifVersion TagExifVersion
TagExposureBiasValue TagExposureBiasValue
TagExposureIndex TagExposureIndex
TagExposureMode TagExposureMode
TagExposureProgram TagExposureProgram
TagExposureTime TagExposureTime

Type is String.

TagFileSource TagFileSource
TagFlash TagFlash

Type is int.

TagFlashEnergy TagFlashEnergy
TagFlashpixVersion TagFlashpixVersion
TagFNumber TagFNumber
TagFocalLength TagFocalLength

Type is rational.

TagFocalLengthIn35mmFilm TagFocalLengthIn35mmFilm
TagFocalPlaneResolutionUnit TagFocalPlaneResolutionUnit
TagFocalPlaneXResolution TagFocalPlaneXResolution
TagFocalPlaneYResolution TagFocalPlaneYResolution
TagGainControl TagGainControl
TagGpsAltitude TagGpsAltitude

The altitude (in meters) based on the reference in TAG_GPS_ALTITUDE_REF.

TagGpsAltitudeRef TagGpsAltitudeRef

0 if the altitude is above sea level. 1 if the altitude is below sea level.

TagGpsAreaInformation TagGpsAreaInformation
TagGpsDatestamp TagGpsDatestamp

Type is String.

TagGpsDestBearing TagGpsDestBearing
TagGpsDestBearingRef TagGpsDestBearingRef
TagGpsDestDistance TagGpsDestDistance
TagGpsDestDistanceRef TagGpsDestDistanceRef
TagGpsDestLatitude TagGpsDestLatitude
TagGpsDestLatitudeRef TagGpsDestLatitudeRef
TagGpsDestLongitude TagGpsDestLongitude
TagGpsDestLongitudeRef TagGpsDestLongitudeRef
TagGpsDifferential TagGpsDifferential
TagGpsDop TagGpsDop
TagGpsImgDirection TagGpsImgDirection
TagGpsImgDirectionRef TagGpsImgDirectionRef
TagGpsLatitude TagGpsLatitude

String.

TagGpsLatitudeRef TagGpsLatitudeRef

Type is String.

TagGpsLongitude TagGpsLongitude

String.

TagGpsLongitudeRef TagGpsLongitudeRef

Type is String.

TagGpsMapDatum TagGpsMapDatum
TagGpsMeasureMode TagGpsMeasureMode
TagGpsProcessingMethod TagGpsProcessingMethod

Type is String.

TagGpsSatellites TagGpsSatellites
TagGpsSpeed TagGpsSpeed
TagGpsSpeedRef TagGpsSpeedRef
TagGpsStatus TagGpsStatus
TagGpsTimestamp TagGpsTimestamp

Type is String.

TagGpsTrack TagGpsTrack
TagGpsTrackRef TagGpsTrackRef
TagGpsVersionId TagGpsVersionId
TagImageDescription TagImageDescription
TagImageLength TagImageLength

Type is int.

TagImageUniqueId TagImageUniqueId
TagImageWidth TagImageWidth

Type is int.

TagInteroperabilityIndex TagInteroperabilityIndex
TagIso TagIso

Type is String.

TagIsoSpeedRatings TagIsoSpeedRatings
TagJpegInterchangeFormat TagJpegInterchangeFormat
TagJpegInterchangeFormatLength TagJpegInterchangeFormatLength
TagLightSource TagLightSource
TagMake TagMake

Type is String.

TagMakerNote TagMakerNote
TagMaxApertureValue TagMaxApertureValue
TagMeteringMode TagMeteringMode
TagModel TagModel

Type is String.

TagNewSubfileType TagNewSubfileType
TagOecf TagOecf
TagOrfAspectFrame TagOrfAspectFrame
TagOrfPreviewImageLength TagOrfPreviewImageLength
TagOrfPreviewImageStart TagOrfPreviewImageStart
TagOrfThumbnailImage TagOrfThumbnailImage
TagOrientation TagOrientation

Type is int.

TagPhotometricInterpretation TagPhotometricInterpretation
TagPixelXDimension TagPixelXDimension
TagPixelYDimension TagPixelYDimension
TagPlanarConfiguration TagPlanarConfiguration
TagPrimaryChromaticities TagPrimaryChromaticities
TagReferenceBlackWhite TagReferenceBlackWhite
TagRelatedSoundFile TagRelatedSoundFile
TagResolutionUnit TagResolutionUnit
TagRowsPerStrip TagRowsPerStrip
TagRw2Iso TagRw2Iso
TagRw2JpgFromRaw TagRw2JpgFromRaw
TagRw2SensorBottomBorder TagRw2SensorBottomBorder
TagRw2SensorLeftBorder TagRw2SensorLeftBorder
TagRw2SensorRightBorder TagRw2SensorRightBorder
TagRw2SensorTopBorder TagRw2SensorTopBorder
TagSamplesPerPixel TagSamplesPerPixel
TagSaturation TagSaturation
TagSceneCaptureType TagSceneCaptureType
TagSceneType TagSceneType
TagSensingMethod TagSensingMethod
TagSharpness TagSharpness
TagShutterSpeedValue TagShutterSpeedValue
TagSoftware TagSoftware
TagSpatialFrequencyResponse TagSpatialFrequencyResponse
TagSpectralSensitivity TagSpectralSensitivity
TagStripByteCounts TagStripByteCounts
TagStripOffsets TagStripOffsets
TagSubfileType TagSubfileType
TagSubjectArea TagSubjectArea
TagSubjectDistance TagSubjectDistance
TagSubjectDistanceRange TagSubjectDistanceRange
TagSubjectLocation TagSubjectLocation
TagSubsecTime TagSubsecTime
TagSubsecTimeDig TagSubsecTimeDig
TagSubsecTimeDigitized TagSubsecTimeDigitized
TagSubsecTimeOrig TagSubsecTimeOrig
TagSubsecTimeOriginal TagSubsecTimeOriginal
TagThumbnailImageLength TagThumbnailImageLength
TagThumbnailImageWidth TagThumbnailImageWidth
TagTransferFunction TagTransferFunction
TagUserComment TagUserComment
TagWhiteBalance TagWhiteBalance

Type is int.

TagWhitePoint TagWhitePoint
TagXResolution TagXResolution
TagYCbCrCoefficients TagYCbCrCoefficients
TagYCbCrPositioning TagYCbCrPositioning
TagYCbCrSubSampling TagYCbCrSubSampling
TagYResolution TagYResolution

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasThumbnail HasThumbnail

Returns true if the JPEG file has a thumbnail.

IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
IsThumbnailCompressed IsThumbnailCompressed
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
PeerReference PeerReference Inherited from Object
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThumbnailBitmap ThumbnailBitmap

Methods

Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetAltitude(Double) GetAltitude(Double)

Return the altitude in meters.

GetAttribute(String) GetAttribute(String)

Returns the value of the specified tag or null if there is no such tag in the JPEG file.

GetAttributeDouble(String, Double) GetAttributeDouble(String, Double)

Returns the double value of the specified rational tag.

GetAttributeInt(String, Int32) GetAttributeInt(String, Int32)

Returns the integer value of the specified tag.

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetLatLong(Single[]) GetLatLong(Single[])

Stores the latitude and longitude value in a float array.

GetThumbnail() GetThumbnail()

Returns the thumbnail inside the JPEG file, or null if there is no thumbnail.

GetThumbnailBytes() GetThumbnailBytes()
GetThumbnailRange() GetThumbnailRange()
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SaveAttributes() SaveAttributes()

Save the tag data into the JPEG file.

SetAttribute(String, String) SetAttribute(String, String)

Set the value of the specified tag.

SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to