mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
113ac94c07
* Import Spotify 1.1.61.583 (Windows) protobufs * Import Spotify 1.1.33.569 protobufs missing in 1.1.61.583 * Remove unused protobufs, no longer present in 1.1.61.583
55 lines
1.1 KiB
Protocol Buffer
55 lines
1.1 KiB
Protocol Buffer
// Extracted from: Spotify 1.1.61.583 (Windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package socialconnect;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message Session {
|
|
int64 timestamp = 1;
|
|
string session_id = 2;
|
|
string join_session_token = 3;
|
|
string join_session_url = 4;
|
|
string session_owner_id = 5;
|
|
repeated SessionMember session_members = 6;
|
|
string join_session_uri = 7;
|
|
bool is_session_owner = 9;
|
|
}
|
|
|
|
message SessionMember {
|
|
int64 timestamp = 1;
|
|
string id = 2;
|
|
string username = 3;
|
|
string display_name = 4;
|
|
string image_url = 5;
|
|
string large_image_url = 6;
|
|
}
|
|
|
|
message SessionUpdate {
|
|
Session session = 1;
|
|
SessionUpdateReason reason = 2;
|
|
repeated SessionMember updated_session_members = 3;
|
|
}
|
|
|
|
message DevicesExposure {
|
|
int64 timestamp = 1;
|
|
map<string, DeviceExposureStatus> devices_exposure = 2;
|
|
}
|
|
|
|
enum SessionUpdateReason {
|
|
UNKNOWN_UPDATE_TYPE = 0;
|
|
NEW_SESSION = 1;
|
|
USER_JOINED = 2;
|
|
USER_LEFT = 3;
|
|
SESSION_DELETED = 4;
|
|
YOU_LEFT = 5;
|
|
YOU_WERE_KICKED = 6;
|
|
YOU_JOINED = 7;
|
|
}
|
|
|
|
enum DeviceExposureStatus {
|
|
NOT_EXPOSABLE = 0;
|
|
NOT_EXPOSED = 1;
|
|
EXPOSED = 2;
|
|
}
|