Documentation
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.

  • JavaScript
  • Android
  • Objective-C
  • Swift
  • C++
  • C#
  • Python
enum EnumImageSourceState
{
   /** Indicates that the buffer of the image source is currently empty. */
   ISS_BUFFER_EMPTY = 0,
   /** Signifies that the source for the image source has been depleted. */
   ISS_EXHAUSTED = 1
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumImageSourceState
{
   /** Indicates that the buffer of the image source is currently empty. */
   public static final int ISS_BUFFER_EMPTY = 0;
   /** Signifies that the source for the image source has been depleted. */
   public static final int ISS_EXHAUSTED = 1;
}
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
};
typedef enum ImageSourceState
{
   /** Indicates that the buffer of the image source is currently empty. */
   ISS_BUFFER_EMPTY,
   /** Signifies that the source for the image source has been depleted. */
   ISS_EXHAUSTED
} ImageSourceState;
public enum EnumImageSourceState
{
    /**The buffer of ImageSourceAdapter is temporarily empty.*/
    ISS_BUFFER_EMPTY,
    /**The source of ImageSourceAdapter is empty.*/
    ISS_EXHAUSTED
}
class EnumImageSourceState(IntEnum):
    #The buffer of ImageSourceAdapter is temporarily empty.
    ISS_BUFFER_EMPTY
    #The source of ImageSourceAdapter is empty.
    ISS_EXHAUSTED

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: