Enumerations
The following enumerations are available globally.
-
Declaration
Swift
public enum ContentstackRegion : String
-
The cache policies allow you to define the source from where the SDK will retrieve the content.
See moreDeclaration
Swift
public enum CachePolicy
-
The response type define the source from where the SDK retrieve the content.
See moreDeclaration
Swift
public enum ResponseType
-
Undocumented
See moreDeclaration
Swift
public enum ContentstackLogger
-
Endpoints that are available for the Content Delivery
See moreDeclaration
Swift
public enum Endpoint : String
-
Possible errors being thrown by the SDK
See moreDeclaration
Swift
public enum SDKError : Error, CustomDebugStringConvertible
-
The
See moreresize-filter
parameter allows you to use the r esizing filter to increase or decrease the number of pixels in a given image. See Resize-filterDeclaration
Swift
public enum ResizeFilter : String
-
The
See moreMode
parameter lets you output image never returns an error due to the specified crop (insafe
) and preserves the center of an image while cropping (insmart
).Declaration
Swift
public enum Mode
-
The
See moreformat
parameter lets you converts a given image from one format to another. See Convert FormatsDeclaration
Swift
public enum Format
-
The
See morecrop
parameter allows you to remove pixels from an image. See Crop ImagesDeclaration
Swift
public enum Crop
-
The
See moreorient
parameter lets you control the cardinal orientation of the given image. See Reorient ImagesDeclaration
Swift
public enum Orientation : Int
-
The
See moreoverlay
parameter allows you to put one image on top of another. You need to specify the relative URL of the image as value for this parameter. SeeOverlay SettingsDeclaration
Swift
public enum OverlayType
-
The
See moreoverlay-align
parameter lets you define the position of the overlay image. See Overlay AlignDeclaration
Swift
public enum OverlayAlign : String
-
The
See moreoverlay-repeat
parameter lets you define how the overlay image will be repeated on the given image. See Overlay RepeatDeclaration
Swift
public enum OverlayRepeat : String
-
The
See morebg-color
parameter lets you set a backgroud color for the given image. See Background ColorDeclaration
Swift
public enum Color
-
Undocumented
See moreDeclaration
Swift
public enum Host