EncryptionMode

Encryption/Decryption mode to be used when an image is loaded/saved.

Entries

Link copied to clipboard

Encryption/Decryption is used when loading/saving an image. A crypting provider must first be set using ImageRef.setStorageCryptingProvider. If no provider is set, the loading/saving operation will fail.

Link copied to clipboard

Encryption is not used when loading or saving images. Trying to load an encrypted image will fail.

Link copied to clipboard

When saving, images are encrypted only if a crypting provider is set using ImageRef.setStorageCryptingProvider. When loading, images will be decrypted if they're encrypted and a crypting provider is set, and loaded as-is otherwise.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.