Table of contents

Enumeration ImageSourceState

ImageSourceState describes the state of an object that conforms to the ImageSourceAdapter interface and is designated as the image source in a CaptureVisionRouter object.

  • Objective-C
  • Swift
typedef NS_ENUM(NSInteger, DSImageSourceState)
{
   /** Indicates that the buffer of the image source is currently empty. */
   DSImageSourceStateBufferEmpty = 0,
   /** Signifies that the source for the image source has been depleted. */
   DSImageSourceStateExhausted = 1
};
public enum ImageSourceState : Int
{
   /** Indicates that the buffer of the image source is currently empty. */
   bufferEmpty = 0
   /** Signifies that the source for the image source has been depleted. */
   exhausted = 1
};

This page is compatible for: