mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Add NewSendDesktopNotification to analytics recorder
PiperOrigin-RevId: 540626567
This commit is contained in:
committed by
Copybara-Service
parent
ebe02e1174
commit
a547d47274
@@ -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: 62
|
||||
// Next id: 63
|
||||
enum EventType {
|
||||
UNKNOWN_EVENT_TYPE = 0;
|
||||
|
||||
@@ -229,6 +229,9 @@ enum EventType {
|
||||
// The device is discovered by fast initialization
|
||||
FAST_INIT_DISCOVER_DEVICE = 61;
|
||||
|
||||
// Send desktop notification.
|
||||
SEND_DESKTOP_NOTIFICATION = 62;
|
||||
|
||||
// LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode)
|
||||
}
|
||||
|
||||
@@ -614,3 +617,17 @@ enum FastInitType {
|
||||
// Not notify the user.
|
||||
FAST_INIT_SILENT_TYPE = 2;
|
||||
}
|
||||
|
||||
// LINT.IfChanged
|
||||
/** The type of desktop notification event. */
|
||||
enum DesktopNotification {
|
||||
DESKTOP_NOTIFICATION_UNKNOWN = 0;
|
||||
DESKTOP_NOTIFICATION_CONNECTING = 1;
|
||||
DESKTOP_NOTIFICATION_PROGRESS = 2;
|
||||
DESKTOP_NOTIFICATION_ACCEPT = 3;
|
||||
DESKTOP_NOTIFICATION_RECEIVED = 4;
|
||||
DESKTOP_NOTIFICATION_ERROR = 5;
|
||||
}
|
||||
// LINT.ThenChange(
|
||||
// //depot/google3/location/nearby/cpp/sharing/clients/dart/platform/lib/types/models.dart
|
||||
// )
|
||||
|
||||
Reference in New Issue
Block a user