Add receive_disabled field to ShareTarget

PiperOrigin-RevId: 702453972
This commit is contained in:
Francis Tsui
2024-12-03 13:43:03 -08:00
committed by Copybara-Service
parent 13e2f1a23b
commit 9f90b7c569
+3
View File
@@ -15,6 +15,7 @@
#ifndef THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_H_
#define THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_H_
#include <stdbool.h>
#include <cstdint>
#include <optional>
#include <string>
@@ -57,6 +58,8 @@ struct ShareTarget {
bool for_self_share = false;
// Vendor ID of the target. This can change over the lifetime of the target.
uint8_t vendor_id = 0;
// True if the share target is not ready for receiving.
bool receive_disabled = false;
};
} // namespace sharing