Skip to main content

ResQ.Core.HceClient

HceClient.ReportDetectionAsync(Detection, string, CancellationToken) Method

Reports a critical detection to the HCE service.
public System.Threading.Tasks.Task<bool> ReportDetectionAsync(ResQ.Core.Detection detection, string droneId, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));

Parameters

detection Detection The detection to report. droneId System.String ID of the drone that made the detection. ct System.Threading.CancellationToken Cancellation token.

Returns

System.Threading.Tasks.Task<System.Boolean>
True if the report was accepted.