Get desktop application:
View/edit binary Protocol Buffers messages
A package containing certificate info to be shared to remote device offline. NEXT_ID=2
Used in:
The public certificates to be shared with remote devices.
A response packet sent by the receiving side. Accepts or rejects the list of files. NEXT_ID=2
Used in:
The receiving side's response.
Used in:
File metadata. Does not include the actual bytes of the file. NEXT_ID=6
Used in:
The human readable name of this file (eg. 'Cookbook.pdf').
The type of file (eg. 'IMAGE' from 'dog.jpg'). Specifying a type helps provide a richer experience on the receiving side.
The FILE payload id that will be sent as a follow up containing the actual bytes of the file.
The total size of the file.
The mimeType of file (eg. 'image/jpeg' from 'dog.jpg'). Specifying a mimeType helps provide a richer experience on receiving side.
A uuid for the attachment. Should be unique across all attachments.
Used in:
A frame used when sending messages over the wire. NEXT_ID=3
Right now there's only 1 version, but if there are more, exactly one of the following fields will be set.
Used in:
An introduction packet sent by the sending side. Contains a list of files they'd like to share. NEXT_ID=4
Used in:
The required app package to open the content. May be null.
A paired key encryption packet sent between devices, contains signed data. NEXT_ID=3
Used in:
The encrypted data in byte array format.
The hash of a certificate id.
An optional encrypted data in byte array format.
A paired key verification result packet sent between devices. NEXT_ID=2
Used in:
The verification result.
Used in:
A public certificate from the local device. NEXT_ID=8
Used in:
The unique id of the public certificate.
A bytes representation of a Secret Key owned by contact, to decrypt the metadata_key stored within the advertisement.
A bytes representation a public key of X509Certificate, owned by contact, to decrypt encrypted UKEY2 (from Nearby Connections API) as a hand shake in contact verification phase.
The time in millis from epoch when this certificate becomes effective.
The time in millis from epoch when this certificate expires.
The encrypted metadata in bytes, contains personal information of the device/user who created this certificate. Needs to be decrypted into bytes, and converted back to EncryptedMetadata object to access fields.
The tag for verifying metadata_encryption_key.
NEXT_ID=5
Used in:
The title of the text content.
The type of text (phone number, url, address, or plain text).
The BYTE payload id that will be sent as a follow up containing the actual bytes of the text.
The size of the text content.
A uuid for the attachment. Should be unique across all attachments.
Used in:
Open with browsers.
Open with map apps.
Dial.
NEXT_ID=7
Used in:
Exactly one of the following fields will be set.
Used in:
NEXT_ID=3
Wi-Fi password.
True if the network is a hidden network that is not broadcasting its SSID. Default is false.
NEXT_ID=5
Used in:
The Wifi network name. This will be sent in introduction.
The security type of network (OPEN, WPA_PSK, WEP).
The BYTE payload id that will be sent as a follow up containing the password.
A uuid for the attachment. Should be unique across all attachments.
Used in: