Resource Base
Table of contents

DSPhotoListener

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

Definition

Assembly: DynamsoftCore.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: