MetadataPolicy enum
What happens to EXIF metadata (camera, timestamps, GPS) on output.
Values
- strip → const MetadataPolicy
-
Remove all metadata. The default: photos shared from an app should not leak where they were taken.
- keepWithoutLocation → const MetadataPolicy
-
Keep camera metadata but remove the GPS block.
- keep → const MetadataPolicy
-
Keep everything except the orientation tag, which is reset because pixels are always rotated upright.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MetadataPolicy> - A constant List of the values in this enum, in order of their declaration.