rtcEngine$onRemoteSnapshotTakenToFile$info$filePath$width$height$errorCode$taskId method
- ByteRTCEngine engine,
- NSString streamId,
- ByteRTCStreamInfo info,
- NSString filePath,
- NSInteger width,
- NSInteger height,
- ByteRTCSnapshotErrorCode errorCode,
- NSInteger taskId,
@detail callback @valid since 3.60. @brief Triggered after calling takeRemoteSnapshotToFile:filePath:{@link #ByteRTCEngine#takeRemoteSnapshotToFile:filePath} to report whether the snapshot is taken successfully and provide details of the snapshot image. @param engine ByteRTCEngine object. @param streamId ID of the video stream for taking snapshot. @param info Stream information, see ByteRTCStreamInfo{@link #ByteRTCStreamInfo}. @param filePath The path where the snapshot file is saved. @param width The width (px) of the snapshot image. @param height The height (px) of the snapshot image. @param errorCode The error code for the snapshot task. See ByteRTCSnapshotErrorCode{@link #ByteRTCSnapshotErrorCode} for specific indications. @param taskId The index of the snapshot task, which matches the return value of takeRemoteSnapshotToFile:filePath:{@link #ByteRTCEngine#takeRemoteSnapshotToFile:filePath}.
Implementation
FutureOr<void>
rtcEngine$onRemoteSnapshotTakenToFile$info$filePath$width$height$errorCode$taskId(
ByteRTCEngine engine,
NSString streamId,
ByteRTCStreamInfo info,
NSString filePath,
NSInteger width,
NSInteger height,
ByteRTCSnapshotErrorCode errorCode,
NSInteger taskId) async {}