rtcEngine$onLocalSnapshotTakenToFile$filePath$width$height$errorCode$taskId method
FutureOr<void>
rtcEngine$onLocalSnapshotTakenToFile$filePath$width$height$errorCode$taskId(
- ByteRTCEngine engine,
- ByteRTCVideoSource videoSource,
- NSString filePath,
- NSInteger width,
- NSInteger height,
- ByteRTCSnapshotErrorCode errorCode,
- NSInteger taskId,
@detail callback @valid since 3.60. @brief 调用 takeLocalSnapshotToFile:{@link #ByteRTCEngine#takeLocalSnapshotToFile} 截取视频画面时,会收到此回调报告截图是否成功,以及截取的图片信息。 @param engine ByteRTCEngine 对象。 @param videoSource 视频源,参看 ByteRTCVideoSource{@link #ByteRTCVideoSource} @param filePath 截图文件的保存路径。 @param width 截图图像的宽度。单位:像素。 @param height 截图图像的高度。单位:像素。 @param errorCode 截图错误码。参看 ByteRTCSnapshotErrorCode{@link #ByteRTCSnapshotErrorCode}。 @param taskId 截图任务的编号,和 takeLocalSnapshotToFile:{@link #ByteRTCEngine#takeLocalSnapshotToFile} 的返回值一致。
Implementation
FutureOr<void>
rtcEngine$onLocalSnapshotTakenToFile$filePath$width$height$errorCode$taskId(
ByteRTCEngine engine,
ByteRTCVideoSource videoSource,
NSString filePath,
NSInteger width,
NSInteger height,
ByteRTCSnapshotErrorCode errorCode,
NSInteger taskId) async {}