Table of contents

Enumeration BufferOverflowProtectionMode

BufferOverflowProtectionMode describes the protection modes to manage situations when the ImageSourceAdapter’s buffer exceeds its capacity.

  • Objective-C
  • Swift
typedef NS_ENUM(NSInteger, DSBufferOverflowProtectionMode)
{
   /** New images are blocked when the buffer is full.*/
   DSBufferOverflowProtectionModeBlock,
   /** New images are appended at the end, and oldest images are pushed out from the beginning if thebuffer is full.*/
   DSBufferOverflowProtectionModeUpdate,
}NS_SWIFT_NAME(BufferOverflowProtectionMode);
public enum BufferOverflowProtectionMode : Int
{
   /** New images are blocked when the buffer is full.*/
   case block = 0
   /** New images are appended at the end, and oldest images are pushed out from the beginning if thebuffer is full.*/
   case update = 1
}

This page is compatible for: