Add definition to Parsing Failed Type

PiperOrigin-RevId: 553382949
This commit is contained in:
hai007
2023-08-09 19:07:35 -07:00
committed by Copybara-Service
parent 0282ba7700
commit 859dd1d1bd
+5
View File
@@ -501,7 +501,12 @@ enum ScanType {
// The type of parsing endpoint id failed type.
enum ParsingFailedType {
FAILED_UNKNOWN_TYPE = 0;
// NULL advertisement is returned due to sender failing to parse advertisement
// from endpointInfo byte stream from receiver advertisement.
FAILED_PARSE_ADVERTISEMENT = 1;
// NULL shareTarget is returned due to sender failing to create shareTarget
// from a valid parsed advertisement stemming from issues in certificates, QR
// code tokens or device names.
FAILED_CONVERT_SHARE_TARGET = 2;
}