mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
[Analytics] Log event for disconnecting by the disallowed medium
PiperOrigin-RevId: 734037398
This commit is contained in:
@@ -435,6 +435,8 @@ enum AttachmentTransmissionStatus {
|
||||
// or user turn on airplane mode.
|
||||
LOST_CONNECTIVITY_TRANSMISSION_STATUS = 29
|
||||
/*[ status_bucket = STATUS_INTERRUPTION ]*/;
|
||||
// Connection failed due to the medium is not allowed.
|
||||
FAILED_DISALLOWED_MEDIUM = 30;
|
||||
}
|
||||
|
||||
// Generic result status of NearbyConnections API calls.
|
||||
|
||||
@@ -569,6 +569,10 @@ message SharingLog {
|
||||
// Exact transfer count stored on device, but when logging put the transfer
|
||||
// count in buckets, initially we use buckets: 1, 2, 3, …, 10, 11+
|
||||
optional int32 lifetime_transfer_count = 13;
|
||||
// The medium used for the connection.
|
||||
optional int32 connection_medium = 14;
|
||||
// The data usage of the user settings.
|
||||
optional location.nearby.proto.sharing.DataUsage data_usage = 15;
|
||||
}
|
||||
|
||||
// EventType: RECEIVE_ATTACHMENTS_START
|
||||
@@ -600,6 +604,10 @@ message SharingLog {
|
||||
// Exact transfer count stored on device, but when logging put the transfer
|
||||
// count in buckets, initially we use buckets: 1, 2, 3, …, 10, 11+
|
||||
optional int32 lifetime_transfer_count = 8;
|
||||
// The medium used for the connection.
|
||||
optional int32 connection_medium = 14;
|
||||
// The data usage of the user settings.
|
||||
optional location.nearby.proto.sharing.DataUsage data_usage = 15;
|
||||
}
|
||||
|
||||
// EventType: CANCEL_CONNECTION
|
||||
|
||||
Reference in New Issue
Block a user