Enumeration BufferOverflowProtectionMode
BufferOverflowProtectionMode
describes the protection modes to manage situations when the ImageSourceAdapter
’s buffer exceeds its capacity.
- JavaScript
- Android
- Objective-C
- Swift
- C++
- C#
- Python
enum EnumBufferOverflowProtectionMode { /** New images are blocked when the buffer is full.*/ BOPM_Block = 0, /** New images are appended at the end, and oldest images are pushed out from the beginning if the buffer is full.*/ BOPM_Update = 1 }
@Retention(RetentionPolicy.CLASS) public @interface EnumBufferOverflowProtectionMode { /** New images are blocked when the buffer is full.*/ public static final int BOPM_BLOCK = 0; /** New images are appended at the end, and oldest images are pushed out from the beginning if thebuffer is full.*/ public static final int BOPM_UPDATE = 1; }
typedef NS_ENUM(NSInteger, DSBufferOverflowProtectionMode) { /** New images are blocked when the buffer is full.*/ DSBufferOverflowProtectionModeBlock = 0, /** New images are appended at the end, and oldest images are pushed out from the beginning if thebuffer is full.*/ DSBufferOverflowProtectionModeUpdate = 1, }NS_SWIFT_NAME(BufferOverflowProtectionMode);
public enum BufferOverflowProtectionMode : Int { /** New images are blocked when the buffer is full.*/ block = 0 /** New images are appended at the end, and oldest images are pushed out from the beginning if thebuffer is full.*/ update = 1 }
typedef enum BufferOverflowProtectionMode { /** New images are blocked when the buffer is full. */ BOPM_BLOCK = 0, /** New images are appended at the end, and oldest images are pushed out from the beginning if the buffer is full. */ BOPM_UPDATE = 1 } BufferOverflowProtectionMode;
public enum EnumBufferOverflowProtectionMode { /** New images are blocked when the buffer is full. */ BOPM_BLOCK = 0x00, /** New images are appended at the end, and the oldest images are pushed out from the beginning if the buffer is full. */ BOPM_UPDATE = 0x01, }
class EnumBufferOverflowProtectionMode(IntEnum): # New images are blocked when the buffer is full. BOPM_BLOCK = 0x00 # New images are appended at the end, and the oldest images are pushed out from the beginning if the buffer is full. BOPM_UPDATE = 0x01