onRemoteSnapshotTakenToFile property
@detail callback @valid since 3.60. @brief Triggered after calling takeRemoteSnapshotToFile{@link #RTCEngine#takeRemoteSnapshotToFile} to report whether the snapshot is taken successfully and provide details of the snapshot image. @param streamId Information of the snapshotted video stream ID. @param streamInfo Information of the snapshotted video stream. See StreamInfo{@link #StreamInfo}. @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 SnapshotErrorCode{@link #SnapshotErrorCode} for specific indications. @param taskId The index for the snapshot task, which matches the return value of takeRemoteSnapshotToFile{@link #RTCEngine#takeRemoteSnapshotToFile}.
Implementation
FutureOr<void> Function(
String streamId,
String filePath,
int width,
int height,
SnapshotErrorCode errorCode,
int taskId)? onRemoteSnapshotTakenToFile;