Udostępnij za pośrednictwem


ExifInterface Constructors

Definition

Overloads

ExifInterface(File)

Reads Exif tags from the specified image file.

ExifInterface(FileDescriptor)

Reads Exif tags from the specified image file descriptor.

ExifInterface(Stream)

Reads Exif tags from the specified image input stream.

ExifInterface(String)

Reads Exif tags from the specified image file.

ExifInterface(IntPtr, JniHandleOwnership)

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

ExifInterface(Stream, Int32)

Reads Exif tags from the specified image input stream based on the stream type.

ExifInterface(File)

Reads Exif tags from the specified image file.

[Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "", ApiSince=29)]
public ExifInterface (Java.IO.File file);
[<Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "", ApiSince=29)>]
new Android.Media.ExifInterface : Java.IO.File -> Android.Media.ExifInterface

Parameters

file
File

the file of the image data

Attributes

Remarks

Reads Exif tags from the specified image file.

Java documentation for android.media.ExifInterface.ExifInterface(java.io.File).

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.

Applies to

ExifInterface(FileDescriptor)

Reads Exif tags from the specified image file descriptor.

[Android.Runtime.Register(".ctor", "(Ljava/io/FileDescriptor;)V", "", ApiSince=24)]
public ExifInterface (Java.IO.FileDescriptor fileDescriptor);
[<Android.Runtime.Register(".ctor", "(Ljava/io/FileDescriptor;)V", "", ApiSince=24)>]
new Android.Media.ExifInterface : Java.IO.FileDescriptor -> Android.Media.ExifInterface

Parameters

fileDescriptor
FileDescriptor

the file descriptor of the image data

Attributes

Remarks

Reads Exif tags from the specified image file descriptor. Attribute mutation is supported for writable and seekable file descriptors only. This constructor will not rewind the offset of the given file descriptor. Developers should close the file descriptor after use.

Java documentation for android.media.ExifInterface.ExifInterface(java.io.FileDescriptor).

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.

Applies to

ExifInterface(Stream)

Reads Exif tags from the specified image input stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "", ApiSince=24)]
public ExifInterface (System.IO.Stream inputStream);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "", ApiSince=24)>]
new Android.Media.ExifInterface : System.IO.Stream -> Android.Media.ExifInterface

Parameters

inputStream
Stream

the input stream that contains the image data

Attributes

Remarks

Reads Exif tags from the specified image input stream. Attribute mutation is not supported for input streams. The given input stream will proceed from its current position. Developers should close the input stream after use. This constructor is not intended to be used with an input stream that performs any networking operations.

Java documentation for android.media.ExifInterface.ExifInterface(java.io.InputStream).

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.

Applies to

ExifInterface(String)

Reads Exif tags from the specified image file.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ExifInterface (string filename);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Media.ExifInterface : string -> Android.Media.ExifInterface

Parameters

filename
String

the name of the file of the image data

Attributes

Exceptions

Remarks

Reads Exif tags from the specified image file.

Java documentation for android.media.ExifInterface.ExifInterface(java.lang.String).

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.

Applies to

ExifInterface(IntPtr, JniHandleOwnership)

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

protected ExifInterface (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.ExifInterface : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.ExifInterface

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

Applies to

ExifInterface(Stream, Int32)

Reads Exif tags from the specified image input stream based on the stream type.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;I)V", "", ApiSince=30)]
public ExifInterface (System.IO.Stream inputStream, int streamType);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;I)V", "", ApiSince=30)>]
new Android.Media.ExifInterface : System.IO.Stream * int -> Android.Media.ExifInterface

Parameters

inputStream
Stream

the input stream that contains the image data

streamType
Int32

the type of input stream

Attributes

Remarks

Reads Exif tags from the specified image input stream based on the stream type. Attribute mutation is not supported for input streams. The given input stream will proceed from its current position. Developers should close the input stream after use. This constructor is not intended to be used with an input stream that performs any networking operations.

Java documentation for android.media.ExifInterface.ExifInterface(java.io.InputStream, int).

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.

Applies to