ACSTeamsCaptionsReceivedEventArgs Class

Declaration

@interface ACSTeamsCaptionsReceivedEventArgs : NSObject;

Description

Describes an CaptionsReceived event for when new captions data comes in

Methods

Properties

speaker

Information about the speaker.

@property (retain, nonnull, readonly) ACSCallerInfo * speaker;

spokenText

The original text with no transcribed.

@property (retain, nonnull, readonly) NSString * spokenText;

spokenLanguage

language identifier for the speaker.

@property (retain, nonnull, readonly) NSString * spokenLanguage;

captionText

The transcribed text.

@property (retain, nonnull, readonly) NSString * captionText;

captionLanguage

language identifier for the captions text.

@property (retain, nonnull, readonly) NSString * captionLanguage;

resultType

CaptionsResultType is Partial if text contains partially spoken sentence. It is set to Final once the sentence has been completely transcribed.

@property (readonly) ACSCaptionsResultType resultType;

timestamp

Timestamp denoting the time when the corresponding speech was made. timestamp is received from call recorder in C# ticks since 1/1/1900 (NTP Epoch) timestamp is converted to ms since 1/1/1970 (UNIX Epoch) 10000 C# ticks / 1 ms

@property (retain, nonnull, readonly) NSDate * timestamp;