EncryptionMode: "REQUIRED" | "DISABLED" | "IF_AVAILABLE"

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

  • REQUIRED: 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.
  • DISABLED: Encryption/Decryption is not used when loading/saving an image.
  • IF_AVAILABLE: Encryption/Decryption is used when loading/saving an image if a crypting provider is set using ImageRef.setStorageCryptingProvider.