mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
[Connections][Analytics] Add log source for NC logs.
PiperOrigin-RevId: 417531016
This commit is contained in:
@@ -39,9 +39,12 @@ message ConnectionsLog {
|
||||
// The version of Nearby Connections. E.g. "v1.0.4".
|
||||
optional string version = 3 ;
|
||||
|
||||
// for EventType.ERROR_CODE
|
||||
// For EventType.ERROR_CODE
|
||||
optional ErrorCode error_code = 4;
|
||||
|
||||
// Indicates the source of the log.
|
||||
optional location.nearby.proto.connections.LogSource log_source = 5;
|
||||
|
||||
// Encapsulates one session of a client connected to Nearby Connections API.
|
||||
message ClientSession {
|
||||
// Elapsed time in milliseconds between Client connect and
|
||||
|
||||
@@ -357,3 +357,22 @@ enum BandwidthUpgradeErrorStage {
|
||||
// On the incoming side, listening for incoming WebRTC connections.
|
||||
WEB_RTC_LISTEN_INCOMING = 34;
|
||||
}
|
||||
|
||||
// The device sources of the clearcut log.
|
||||
enum LogSource {
|
||||
UNSPECIFIED_SOURCE = 0;
|
||||
|
||||
// Represents the devices in Nearby labs.
|
||||
LAB_DEVICES = 1;
|
||||
// Represents the devices tested by Nearby engs, in the long term can include
|
||||
// any devices with newest feature flags.
|
||||
INTERNAL_DEVICES = 2;
|
||||
// Represents the devices testing our in-development features before they're
|
||||
// released to the greater public.
|
||||
BETA_TESTER_DEVICES = 3;
|
||||
// Represents the OEM partners (like Samsung) that we're working with to
|
||||
// verify functionality on their devices.
|
||||
OEM_DEVICES = 4;
|
||||
// Represents the device for debugging.
|
||||
DEBUG_DEVICES = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user