mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
[Presence] Added more device types: foldable, automotive, and speaker.
PiperOrigin-RevId: 561692221
This commit is contained in:
@@ -66,6 +66,7 @@ message Metadata {
|
||||
}
|
||||
|
||||
// The type of the device.
|
||||
// LINT.IfChange
|
||||
enum DeviceType {
|
||||
// The type of the device is unknown.
|
||||
DEVICE_TYPE_UNKNOWN = 0;
|
||||
@@ -94,7 +95,14 @@ enum DeviceType {
|
||||
|
||||
// The device is a foldable.
|
||||
DEVICE_TYPE_FOLDABLE = 8;
|
||||
|
||||
// The device is an automotive.
|
||||
DEVICE_TYPE_AUTOMOTIVE = 9;
|
||||
|
||||
// The device is a speaker.
|
||||
DEVICE_TYPE_SPEAKER = 10;
|
||||
}
|
||||
// LINT.ThenChange(//depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/presence/PresenceDevice.java)
|
||||
|
||||
// The instance type of the metadata.
|
||||
// LINT.IfChange
|
||||
|
||||
Reference in New Issue
Block a user