MediaStreamExifDataInterface Class Reference

#include <mediasession_stream.h>

Inheritance diagram for MediaStreamExifDataInterface:

Detailed Description

Stream which delivers EXIF data.

Public Types

using ExifDataHandler = Delegate< Result< void >(const MediaStreamExifDataRef &stream, const ExifRef &exifData)>
 

Public Member Functions

MAXON_METHOD Result< void > SetCallbackHandler (const ExifDataHandler &handleExifData)
 
MAXON_METHOD Result< void > HandleExifData (const ExifRef &exifData)
 
MAXON_METHOD Result< void > FinishStream (const MediaStreamProperties &props)
 

Private Member Functions

 MAXON_INTERFACE (MediaStreamExifDataInterface, MAXON_REFERENCE_NORMAL, "net.maxon.image.interface.mediastreamexifdata")
 

Member Typedef Documentation

◆ ExifDataHandler

using ExifDataHandler = Delegate<Result<void>(const MediaStreamExifDataRef& stream, const ExifRef& exifData)>

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( MediaStreamExifDataInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.image.interface.mediastreamexifdata"   
)
private

◆ SetCallbackHandler()

MAXON_METHOD Result<void> SetCallbackHandler ( const ExifDataHandler handleExifData)

Subscribes to the Exif data stream. So if the media converter triggers the callback as soon as the exif data is available.

Parameters
[in]handleExifDataA handler which is called from the input media converter to signal that the exif data is available for this stream.
Returns
OK on success.

◆ HandleExifData()

MAXON_METHOD Result<void> HandleExifData ( const ExifRef &  exifData)

◆ FinishStream()

MAXON_METHOD Result<void> FinishStream ( const MediaStreamProperties &  props)