upload Device Metrics
abstract suspend fun uploadDeviceMetrics(@IntRange(from = 3000, to = 10000 ) timeoutMillis: Long = READ_METRIC_TIMEOUT_MIN): SidewalkResult<Unit>
Uploads device Metrics to the Amazon Sidewalk cloud.
Return
The result when Upload Device Metrics completes. Returns SidewalkResult.Success if all metrics are successfully uploaded; otherwise SidewalkResult.Failure with the failure cause.
Parameters
timeout Millis
An optional value to indicate the amount of time(millisecond) to wait for each metric uplinks from the Amazon Sidewalk device.