enableContentInspectEx abstract method
- required bool enabled,
- required ContentInspectConfig config,
- required RtcConnection connection,
Enables/disables local snapshot upload.
This method can take and upload snapshots for multiple video streams. After enabling local snapshot upload, the SDK takes and uploads snapshots of the video sent by the local user based on the module type and frequency set in ContentInspectConfig. After the snapshot is completed, the Agora server sends a callback notification to your server via HTTPS request and uploads all snapshots to your specified third-party cloud storage. Before calling this method, please contact technical support to enable the local snapshot upload service.
enabledSets whether to enable local snapshot upload: true : Enable local snapshot upload. false : Disable local snapshot upload.configLocal snapshot upload configuration. See ContentInspectConfig.connectionConnection information. See RtcConnection.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> enableContentInspectEx(
{required bool enabled,
required ContentInspectConfig config,
required RtcConnection connection});