# Enumeration BufferOverflowProtectionMode

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

<div class="sample-code-prefix template2"></div>
   >- JavaScript
   >
>
```javascript
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
}
```