PLVSpeakMessage
Objective-C
@interface PLVSpeakMessage : NSObject
@property (nonatomic, copy) NSString * _Nullable msgId;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, assign) NSTimeInterval time;
@property (nonatomic, assign) NSTimeInterval playbackTime;
/// 如果值为"extend"表示为:提醒消息
@property (nonatomic, copy) NSString * _Nullable source;
/// 消息是否超过约定长度
@property (nonatomic, assign) BOOL overLen;
/// 是否触发严禁词,且content中的严禁词已被**替换,默认为NO
@property (nonatomic, assign) BOOL prohibitWordReplaced;
@end
Swift
class PLVSpeakMessage : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString * _Nullable msgIdSwift
var msgId: String? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy) NSString *contentSwift
var content: String { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) NSTimeInterval timeSwift
var time: TimeInterval { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) NSTimeInterval playbackTimeSwift
var playbackTime: TimeInterval { get set } -
如果值为"extend"表示为:提醒消息
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nullable source;Swift
var source: String? { get set } -
消息是否超过约定长度
Declaration
Objective-C
@property (nonatomic) BOOL overLen;Swift
var overLen: Bool { get set } -
是否触发严禁词,且content中的严禁词已被**替换,默认为NO
Declaration
Objective-C
@property (nonatomic) BOOL prohibitWordReplaced;Swift
var prohibitWordReplaced: Bool { get set }
View on GitHub
PLVSpeakMessage Class Reference