Resource Base
Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

DSPhotoListener

The DSPhotoListener protocol defines the methods for monitoring the photo output.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @protocol DSPhotoListener <NSObject>
    
  2. protocol PhotoListener : NSObjectProtocol
    

Methods

Method Description
onPhotoOutput The method for monitoring the photo output.

onPhotoOutput

The method for monitoring the photo output.

  • Objective-C
  • Swift
  1. - (void)onPhotoOutput:(NSData *)jpegBytes;
    
  2. func onPhotoOutput(_ jpegBytes: Data)
    

Parameters

jpegBytes: The captured photo as JPEG bytes.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: