TencentVideoMessageV1
应用之间传递视频的消息
- 父类
TencentBaseMessageObj
- 初始化方法
| - (id)initWithVideoUrl :(NSString *)url type :(TencentApiVideoSourceType)type; - (id)initWithType:(TencentApiVideoSourceType)type; |
- 属性说明
| 参数 | 类型 | 含义 |
| sUrl | NSString | 视频URL,其长度不能超过1024 |
| nType | NSInteger | 视频来源 主要是用来让发起方指定视频的来源TencentApiVideoSourceType 对应的类型 只读参数 |
| dataImagePreview | NSData | 视频的预览图 ,图片不能大于1M |
| sImagePreviewUrl | NSString | 视频的预览图URL |
| sDescription | NSString | 视频的描述 |
其中,type为TencentApiVideoSourceType枚举类型,其枚举值含义如下:
| TencentApiImageSourceType | 含义 |
| AllVideo | 视频来源于本地或网络 |
| LocalVideo | 视频来源于本地 |
| NetVideo | 视频来源于网络 |