Internal change

PiperOrigin-RevId: 375330391
This commit is contained in:
hai007
2021-05-23 01:49:09 -07:00
committed by Copybara-Service
parent 6de9dd1e78
commit 498a583e09
+17
View File
@@ -163,6 +163,11 @@ enum EventType {
// User starts a consent.
LAUNCH_CONSENT = 42;
// After receiving payloads, Nearby Share still needs to transfer the payloads
// to correct attachment formats and move files attachments from temporary
// directory to final destination.
PROCESS_RECEIVED_ATTACHMENTS_END = 43;
}
// Event category to differentiate whether this comes from sender or receiver,
@@ -222,6 +227,18 @@ enum AttachmentTransmissionStatus {
FAILED_WRITE_INTRODUCTION = 16;
}
// The status of processing attachments after receiver received payloads
// successfully.
enum ProcessReceivedAttachmentsStatus {
PROCESSING_STATUS_UNKNOWN = 0;
PROCESSING_STATUS_COMPLETE_PROCESSING_ATTACHMENTS = 1;
PROCESSING_STATUS_FAILED_MOVING_FILES = 2;
PROCESSING_STATUS_FAILED_RECEIVING_APK = 3;
PROCESSING_STATUS_FAILED_RECEIVING_TEXT = 4;
PROCESSING_STATUS_FAILED_RECEIVING_WIFI_CREDENTIALS = 5;
}
// The status of advertising and discovering sessions. Used by
// SCAN_FOR_SHARE_TARGETS and ADVERTISE_DEVICE_PRESENCE.
enum SessionStatus {