NIMVideoAttachment constructor

NIMVideoAttachment({
  1. int? duration,
  2. int? width,
  3. int? height,
  4. String? thumbPath,
  5. String? thumbUrl,
  6. String? path,
  7. required int? size,
  8. String? md5,
  9. String? url,
  10. String? base64,
  11. String? displayName,
  12. String? extension,
  13. int? expire,
  14. NIMNosScene nosScene = NIMNosScenes.defaultIm,
  15. bool forceUpload = false,
})

Implementation

NIMVideoAttachment(
    {this.duration,
    this.width,
    this.height,
    this.thumbPath,
    this.thumbUrl,
    String? path,
    required int? size,
    String? md5,
    String? url,
    String? base64,
    String? displayName,
    String? extension,
    int? expire,
    NIMNosScene nosScene = NIMNosScenes.defaultIm,
    bool forceUpload = false})
    : super(
          path: path,
          size: size,
          md5: md5,
          url: url,
          base64: base64,
          displayName: displayName,
          extension: extension,
          expire: expire,
          nosScene: nosScene,
          forceUpload: forceUpload);