声明
@interface ACSTeamsCaptionsReceivedEventArgs : NSObject;
Description
描述新字幕数据传入时的 CaptionsReceived 事件
Methods
属性
扬声器
有关扬声器的信息。
@property (retain, nonnull, readonly) ACSCallerInfo * speaker;
口语文本
原文,无转录。
@property (retain, nonnull, readonly) NSString * spokenText;
spokenLanguage
说话者的语言标识符。
@property (retain, nonnull, readonly) NSString * spokenLanguage;
标题文本
听录的文本。
@property (retain, nonnull, readonly) NSString * captionText;
caption语言
字幕文本的语言标识符。
@property (retain, nonnull, readonly) NSString * captionLanguage;
resultType
如果文本包含部分口语句子,则 CaptionsResultType 为 Parcial。 句子完全转录后,它将设置为“最终”。
@property (readonly) ACSCaptionsResultType resultType;
时间戳
时间戳,表示发出相应语音的时间。 自 1900 年 1 月 1 日起以 C# 滴答从呼叫记录器接收的时间戳(NTP 纪元) 自 1970 年 1 月 1 日起时间戳转换为毫秒(UNIX 纪元) 10000 C# 滴答/1 毫秒
@property (retain, nonnull, readonly) NSDate * timestamp;