PLVPlaybackMessage
Objective-C
@interface PLVPlaybackMessage : NSObject
//视频时间戳,单位毫秒
@property (nonatomic, assign) NSTimeInterval playbackTime;
// 发送消息用户
@property (nonatomic, strong) PLVPlaybackMsgUser *user;
//可能是PLVSpeakMessage、PLVQuoteMessage、PLVImageMessage、PLVImageEmotionMessage
@property (nonatomic, strong) id message;
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
+ (BOOL)playbackMessageValid:(PLVPlaybackMessage *)playbackMessage;
@end
Swift
class PLVPlaybackMessage : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSTimeInterval playbackTimeSwift
var playbackTime: TimeInterval { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) PLVPlaybackMsgUser *userSwift
var user: PLVPlaybackMsgUser { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id messageSwift
var message: Any { get set } -
Undocumented
Declaration
Objective-C
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;Swift
init(dictionary: [AnyHashable : Any]) -
Undocumented
Declaration
Objective-C
+ (BOOL)playbackMessageValid:(PLVPlaybackMessage *)playbackMessage;Swift
class func playbackMessageValid(_ playbackMessage: PLVPlaybackMessage) -> Bool
View on GitHub
PLVPlaybackMessage Class Reference