[Analytics] Log unpared discovery

PiperOrigin-RevId: 537629194
This commit is contained in:
hai007
2023-06-03 22:25:01 -07:00
committed by Copybara-Service
parent e77c1e862e
commit 2e0a8f1df5
+11 -1
View File
@@ -30,7 +30,7 @@ option objc_class_prefix = "GNSHP";
// in NearbyClearcutLogger (for android, or clearcut_event_logger as the
// equivalence for Windows) for all events (may exclude settings), and
// session_id for a pair of events (start and end of a session).
// Next id: 60
// Next id: 61
enum EventType {
UNKNOWN_EVENT_TYPE = 0;
@@ -223,6 +223,9 @@ enum EventType {
// QR code link shown
QR_CODE_LINK_SHOWN = 59;
// Sender failed to parse endpoint id.
PARSING_FAILED_ENDPOINT_ID = 60;
// LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode)
}
@@ -427,6 +430,13 @@ enum ScanType {
BACKGROUND_SCAN = 4;
}
// The type of parsing endpoint id failed type.
enum ParsingFailedType {
FAILED_UNKNOWN_TYPE = 0;
FAILED_PARSE_ADVERTISEMENT = 1;
FAILED_COVERT_SHARE_TARGET = 2;
}
// The Nearby Sharing advertising mode.
enum AdvertisingMode {
UNKNOWN_ADVERTISING_MODE = 0;