Chat SDK for React Native 1.14.0
    Preparing search index...

    Class ChatVideoMessageBody

    视频消息体基类。

    Hierarchy

    • _ChatFileMessageBody
      • ChatVideoMessageBody
    Index

    Constructors

    • Parameters

      • params: {
            displayName: string;
            duration?: number;
            fileSize?: number;
            fileStatus?: number;
            height?: number;
            lastModifyOperatorId?: string;
            lastModifyTime?: number;
            localPath: string;
            modifyCount?: number;
            remotePath?: string;
            secret?: string;
            thumbnailLocalPath?: string;
            thumbnailRemotePath?: string;
            thumbnailSecret?: string;
            thumbnailStatus?: ChatDownloadStatus;
            width?: number;
        }

      Returns ChatVideoMessageBody

    Properties

    displayName: string

    文件名称。

    duration: number

    视频时长,单位为秒。

    fileSize: number

    文件大小,单位为字节。

    fileStatus: ChatDownloadStatus

    文件下载状态,详见 ChatDownloadStatus

    height: number

    视频的高度,单位是像素。

    lastModifyOperatorId?: string

    消息最后修改人。

    lastModifyTime?: number

    最后修改时间戳。

    localPath: string = ''

    文件本地路径。

    modifyCount?: number

    修改次数。

    remotePath: string

    文件在服务器的路径。

    secret: string

    下载附件的 token。

    thumbnailLocalPath: string

    视频缩略图的本地路径。

    thumbnailRemotePath: string

    视频缩略图在服务器的路径。

    thumbnailSecret: string

    下载视频缩略图需要的 token。

    thumbnailStatus: ChatDownloadStatus

    视频缩略图下载状态,详见 ChatDownloadStatus

    消息类型,详见 ChatMessageType

    width: number

    视频的宽度,单位是像素。