編輯

共用方式為


INPhotoAttributeOptions Enum

Definition

Enumerates various photo options.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum INPhotoAttributeOptions
type INPhotoAttributeOptions = 
Inheritance
INPhotoAttributeOptions
Attributes

Fields

Name Value Description
Photo 1

The media is a photograph.

Video 2

The media is a video.

Gif 4

The photo is stored in the GIF format.

Flash 8

The photo was taken with an artificial flash.

LandscapeOrientation 16

The photo's longer edge should be along the X axis.

PortraitOrientation 32

The photo's longer edge should be along the Y axis.

Favorite 64

The user has indicated the photo is a favorite.

Selfie 128

The photo is of the photographer.

FrontFacingCamera 256

The photo was taken with the front-facing camera.

Screenshot 512

The image is a screenshot.

BurstPhoto 1024

Indicates a photo taken in a burst.

HdrPhoto 2048

The photo was constructed via the High-Dynamic Range process.

SquarePhoto 4096

The photo has a square aspect ratio.

PanoramaPhoto 8192

The photo was taken with the panoramic process.

TimeLapseVideo 16384

The media is a video recorded in the timelapse mode.

SlowMotionVideo 32768

The media is a video recorded in slow motion.

NoirFilter 65536

The Noir image effect.

ChromeFilter 131072

The Chrome image effect.

InstantFilter 262144

The Instant image effect.

TonalFilter 524288

The Tonal image effect.

TransferFilter 1048576

The Transfer image effect.

MonoFilter 2097152

The Monochrome image effect.

FadeFilter 4194304

The Fade image effect.

ProcessFilter 8388608

The Process image effect.

PortraitPhoto 16777216
LivePhoto 33554432
LoopPhoto 67108864
BouncePhoto 134217728
LongExposurePhoto 268435456

Applies to