@basmilius/apple-airplay 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -0
- package/dist/index.js +12 -2
- package/dist/index.js.map +119 -3
- package/dist/proto/AudioFadeMessage_pb.d.ts +30 -0
- package/dist/proto/AudioFadeResponseMessage_pb.d.ts +25 -0
- package/dist/proto/AudioFormatSettingsMessage_pb.d.ts +20 -0
- package/dist/proto/ClientUpdatesConfigMessage_pb.d.ts +41 -0
- package/dist/proto/CommandInfo_pb.d.ts +452 -0
- package/dist/proto/CommandOptions_pb.d.ts +137 -0
- package/dist/proto/Common_pb.d.ts +306 -0
- package/dist/proto/ConfigureConnectionMessage_pb.d.ts +25 -0
- package/dist/proto/ContentItemMetadata_pb.d.ts +812 -0
- package/dist/proto/ContentItem_pb.d.ts +91 -0
- package/dist/proto/CryptoPairingMessage_pb.d.ts +45 -0
- package/dist/proto/DeviceInfoMessage_pb.d.ts +270 -0
- package/dist/proto/GenericMessage_pb.d.ts +29 -0
- package/dist/proto/GetKeyboardSessionMessage_pb.d.ts +20 -0
- package/dist/proto/GetRemoteTextInputSessionMessage_pb.d.ts +20 -0
- package/dist/proto/GetVolumeMessage_pb.d.ts +25 -0
- package/dist/proto/GetVolumeResultMessage_pb.d.ts +25 -0
- package/dist/proto/KeyboardMessage_pb.d.ts +321 -0
- package/dist/proto/LanguageOption_pb.d.ts +36 -0
- package/dist/proto/ModifyOutputContextRequestMessage_pb.d.ts +71 -0
- package/dist/proto/NotificationMessage_pb.d.ts +29 -0
- package/dist/proto/NowPlayingClient_pb.d.ts +46 -0
- package/dist/proto/NowPlayingInfo_pb.d.ts +89 -0
- package/dist/proto/NowPlayingPlayer_pb.d.ts +44 -0
- package/dist/proto/OriginClientPropertiesMessage_pb.d.ts +25 -0
- package/dist/proto/Origin_pb.d.ts +58 -0
- package/dist/proto/PlaybackQueueCapabilities_pb.d.ts +28 -0
- package/dist/proto/PlaybackQueueContext_pb.d.ts +20 -0
- package/dist/proto/PlaybackQueueRequestMessage_pb.d.ts +91 -0
- package/dist/proto/PlaybackQueue_pb.d.ts +47 -0
- package/dist/proto/PlayerClientPropertiesMessage_pb.d.ts +30 -0
- package/dist/proto/PlayerPath_pb.d.ts +31 -0
- package/dist/proto/ProtocolMessage_pb.d.ts +659 -0
- package/dist/proto/RegisterForGameControllerEventsMessage_pb.d.ts +50 -0
- package/dist/proto/RegisterHIDDeviceMessage_pb.d.ts +26 -0
- package/dist/proto/RegisterHIDDeviceResultMessage_pb.d.ts +29 -0
- package/dist/proto/RegisterVoiceInputDeviceMessage_pb.d.ts +26 -0
- package/dist/proto/RegisterVoiceInputDeviceResponseMessage_pb.d.ts +29 -0
- package/dist/proto/RemoteTextInputMessage_pb.d.ts +33 -0
- package/dist/proto/RemoveClientMessage_pb.d.ts +26 -0
- package/dist/proto/RemoveEndpointsMessage_pb.d.ts +25 -0
- package/dist/proto/RemoveOutputDevicesMessage_pb.d.ts +29 -0
- package/dist/proto/RemovePlayerMessage_pb.d.ts +26 -0
- package/dist/proto/SendButtonEventMessage_pb.d.ts +33 -0
- package/dist/proto/SendCommandMessage_pb.d.ts +36 -0
- package/dist/proto/SendCommandResultMessage_pb.d.ts +363 -0
- package/dist/proto/SendHIDEventMessage_pb.d.ts +56 -0
- package/dist/proto/SendPackedVirtualTouchEventMessage_pb.d.ts +60 -0
- package/dist/proto/SendVoiceInputMessage_pb.d.ts +122 -0
- package/dist/proto/SetArtworkMessage_pb.d.ts +25 -0
- package/dist/proto/SetConnectionStateMessage_pb.d.ts +50 -0
- package/dist/proto/SetDefaultSupportedCommandsMessage_pb.d.ts +70 -0
- package/dist/proto/SetDiscoveryModeMessage_pb.d.ts +29 -0
- package/dist/proto/SetHiliteModeMessage_pb.d.ts +25 -0
- package/dist/proto/SetNowPlayingClientMessage_pb.d.ts +26 -0
- package/dist/proto/SetNowPlayingPlayerMessage_pb.d.ts +26 -0
- package/dist/proto/SetRecordingStateMessage_pb.d.ts +46 -0
- package/dist/proto/SetStateMessage_pb.d.ts +68 -0
- package/dist/proto/SetVolumeMessage_pb.d.ts +29 -0
- package/dist/proto/SupportedCommands_pb.d.ts +21 -0
- package/dist/proto/TextInputMessage_pb.d.ts +73 -0
- package/dist/proto/TransactionKey_pb.d.ts +24 -0
- package/dist/proto/TransactionMessage_pb.d.ts +35 -0
- package/dist/proto/TransactionPacket_pb.d.ts +37 -0
- package/dist/proto/TransactionPackets_pb.d.ts +21 -0
- package/dist/proto/UpdateClientMessage_pb.d.ts +26 -0
- package/dist/proto/UpdateContentItemArtworkMessage_pb.d.ts +31 -0
- package/dist/proto/UpdateContentItemMessage_pb.d.ts +31 -0
- package/dist/proto/UpdateEndPointsMessage_pb.d.ts +72 -0
- package/dist/proto/UpdateOutputDeviceMessage_pb.d.ts +322 -0
- package/dist/proto/UpdatePlayerPath_pb.d.ts +26 -0
- package/dist/proto/VirtualTouchDeviceDescriptorMessage_pb.d.ts +32 -0
- package/dist/proto/VoiceInputDeviceDescriptorMessage_pb.d.ts +25 -0
- package/dist/proto/VolumeControlAvailabilityMessage_pb.d.ts +66 -0
- package/dist/proto/VolumeControlCapabilitiesDidChangeMessage_pb.d.ts +34 -0
- package/dist/proto/VolumeDidChangeMessage_pb.d.ts +33 -0
- package/dist/proto/WakeDeviceMessage_pb.d.ts +20 -0
- package/dist/proto/index.d.ts +77 -0
- package/dist/protocol/dataStream.d.ts +13 -0
- package/dist/protocol/dataStreamMessages.d.ts +9 -0
- package/dist/protocol/eventStream.d.ts +7 -0
- package/dist/protocol/index.d.ts +7 -0
- package/dist/protocol/pairing.d.ts +12 -0
- package/dist/protocol/protocol.d.ts +21 -0
- package/dist/protocol/rtsp.d.ts +15 -0
- package/dist/protocol/stream.d.ts +22 -0
- package/dist/protocol/utils.d.ts +18 -0
- package/dist/protocol/verify.d.ts +9 -0
- package/package.json +6 -2
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SendHIDEventMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SendHIDEventMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SendHIDEventMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SendHIDEventMessage = Message<"SendHIDEventMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* This data corresponds to a "keyboardEvent" in IOHIDEvent.h encoded as raw
|
|
14
|
+
* data. Here is one source:
|
|
15
|
+
*
|
|
16
|
+
* https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-308/IOHIDFamily/IOHIDEvent.h.auto.html
|
|
17
|
+
*
|
|
18
|
+
* The interesting parts are:
|
|
19
|
+
* - usagePage (UInt32)
|
|
20
|
+
* - usage (Uint32)
|
|
21
|
+
* - down (bool)
|
|
22
|
+
*
|
|
23
|
+
* The parameters usagePage and usage corresponds to the key being pressed.
|
|
24
|
+
* It is mapped to the USB HID values, which can be found here:
|
|
25
|
+
*
|
|
26
|
+
* https://github.com/Daij-Djan/DDHidLib/blob/master/usb_hid_usages.txt
|
|
27
|
+
*
|
|
28
|
+
* Pressing left key would for instance map to usagePage=0x01, usage=0x8B. In
|
|
29
|
+
* the hid data, these values are stored as big endian uint16 values in the
|
|
30
|
+
* mentioned order. So the same example would be: 0x0001008B0001, assuming
|
|
31
|
+
* down = true (key being pressed). For each key press, the same usagePage
|
|
32
|
+
* and usage are sent with down=true and down=false (key down + key up).
|
|
33
|
+
*
|
|
34
|
+
* There is a bit of magic in the raw data that's just not decoded yet, but
|
|
35
|
+
* that doesn't matter. Just use this and it will work:
|
|
36
|
+
*
|
|
37
|
+
* 438922cf080200000000000000000000010000000000000002000000200000000300000001000000000000<data>0000000000000001000000
|
|
38
|
+
*
|
|
39
|
+
* <data> corresponds to the values above, e.g. 0001008B0001. The first 8
|
|
40
|
+
* bytes is a timestamp (mach AbsoluteTime). It's a bit tricky to derive but
|
|
41
|
+
* tvOS seems to accept old timestamps here. So it's probably fine to send
|
|
42
|
+
* anything.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: optional bytes hidEventData = 1;
|
|
45
|
+
*/
|
|
46
|
+
hidEventData: Uint8Array;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message SendHIDEventMessage.
|
|
50
|
+
* Use `create(SendHIDEventMessageSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export declare const SendHIDEventMessageSchema: GenMessage<SendHIDEventMessage>;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from extension: optional SendHIDEventMessage sendHIDEventMessage = 13;
|
|
55
|
+
*/
|
|
56
|
+
export declare const sendHIDEventMessage: GenExtension<ProtocolMessage, SendHIDEventMessage>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SendPackedVirtualTouchEventMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SendPackedVirtualTouchEventMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SendPackedVirtualTouchEventMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SendPackedVirtualTouchEventMessage = Message<"SendPackedVirtualTouchEventMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* The packed version of VirtualTouchEvent contains X, Y, phase, deviceID
|
|
14
|
+
* and finger stored as a byte array. Each value is written as 16bit little
|
|
15
|
+
* endian integers.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: optional bytes data = 1;
|
|
18
|
+
*/
|
|
19
|
+
data: Uint8Array;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message SendPackedVirtualTouchEventMessage.
|
|
23
|
+
* Use `create(SendPackedVirtualTouchEventMessageSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SendPackedVirtualTouchEventMessageSchema: GenMessage<SendPackedVirtualTouchEventMessage>;
|
|
26
|
+
/**
|
|
27
|
+
* Corresponds to "phase" in data
|
|
28
|
+
*
|
|
29
|
+
* @generated from enum SendPackedVirtualTouchEventMessage.Phase
|
|
30
|
+
*/
|
|
31
|
+
export declare enum SendPackedVirtualTouchEventMessage_Phase {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: Began = 1;
|
|
34
|
+
*/
|
|
35
|
+
Began = 1,
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: Moved = 2;
|
|
38
|
+
*/
|
|
39
|
+
Moved = 2,
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: Stationary = 3;
|
|
42
|
+
*/
|
|
43
|
+
Stationary = 3,
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: Ended = 4;
|
|
46
|
+
*/
|
|
47
|
+
Ended = 4,
|
|
48
|
+
/**
|
|
49
|
+
* @generated from enum value: Cancelled = 5;
|
|
50
|
+
*/
|
|
51
|
+
Cancelled = 5
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Describes the enum SendPackedVirtualTouchEventMessage.Phase.
|
|
55
|
+
*/
|
|
56
|
+
export declare const SendPackedVirtualTouchEventMessage_PhaseSchema: GenEnum<SendPackedVirtualTouchEventMessage_Phase>;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from extension: optional SendPackedVirtualTouchEventMessage sendPackedVirtualTouchEventMessage = 47;
|
|
59
|
+
*/
|
|
60
|
+
export declare const sendPackedVirtualTouchEventMessage: GenExtension<ProtocolMessage, SendPackedVirtualTouchEventMessage>;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { AudioFormatSettings } from "./AudioFormatSettingsMessage_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file SendVoiceInputMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_SendVoiceInputMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message AudioStreamPacketDescription
|
|
11
|
+
*/
|
|
12
|
+
export type AudioStreamPacketDescription = Message<"AudioStreamPacketDescription"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional int64 startOffset = 1;
|
|
15
|
+
*/
|
|
16
|
+
startOffset: bigint;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: optional uint32 variableFramesInPacket = 2;
|
|
19
|
+
*/
|
|
20
|
+
variableFramesInPacket: number;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: optional uint32 dataByteSize = 3;
|
|
23
|
+
*/
|
|
24
|
+
dataByteSize: number;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message AudioStreamPacketDescription.
|
|
28
|
+
* Use `create(AudioStreamPacketDescriptionSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export declare const AudioStreamPacketDescriptionSchema: GenMessage<AudioStreamPacketDescription>;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message AudioBuffer
|
|
33
|
+
*/
|
|
34
|
+
export type AudioBuffer = Message<"AudioBuffer"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: optional AudioFormatSettings formatSettings = 1;
|
|
37
|
+
*/
|
|
38
|
+
formatSettings?: AudioFormatSettings;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: optional int64 packetCapacity = 2;
|
|
41
|
+
*/
|
|
42
|
+
packetCapacity: bigint;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: optional int64 maximumPacketSize = 3;
|
|
45
|
+
*/
|
|
46
|
+
maximumPacketSize: bigint;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: optional int64 packetCount = 4;
|
|
49
|
+
*/
|
|
50
|
+
packetCount: bigint;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: optional bytes contents = 5;
|
|
53
|
+
*/
|
|
54
|
+
contents: Uint8Array;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: repeated AudioStreamPacketDescription packetDescriptions = 6;
|
|
57
|
+
*/
|
|
58
|
+
packetDescriptions: AudioStreamPacketDescription[];
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message AudioBuffer.
|
|
62
|
+
* Use `create(AudioBufferSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export declare const AudioBufferSchema: GenMessage<AudioBuffer>;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message AudioTime
|
|
67
|
+
*/
|
|
68
|
+
export type AudioTime = Message<"AudioTime"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: optional double timestamp = 1;
|
|
71
|
+
*/
|
|
72
|
+
timestamp: number;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: optional double sampleRate = 2;
|
|
75
|
+
*/
|
|
76
|
+
sampleRate: number;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message AudioTime.
|
|
80
|
+
* Use `create(AudioTimeSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const AudioTimeSchema: GenMessage<AudioTime>;
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message AudioDataBlock
|
|
85
|
+
*/
|
|
86
|
+
export type AudioDataBlock = Message<"AudioDataBlock"> & {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: optional AudioBuffer buffer = 1;
|
|
89
|
+
*/
|
|
90
|
+
buffer?: AudioBuffer;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: optional AudioTime time = 2;
|
|
93
|
+
*/
|
|
94
|
+
time?: AudioTime;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: optional double gain = 3;
|
|
97
|
+
*/
|
|
98
|
+
gain: number;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message AudioDataBlock.
|
|
102
|
+
* Use `create(AudioDataBlockSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export declare const AudioDataBlockSchema: GenMessage<AudioDataBlock>;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from message SendVoiceInputMessage
|
|
107
|
+
*/
|
|
108
|
+
export type SendVoiceInputMessage = Message<"SendVoiceInputMessage"> & {
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: optional AudioDataBlock dataBlock = 1;
|
|
111
|
+
*/
|
|
112
|
+
dataBlock?: AudioDataBlock;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message SendVoiceInputMessage.
|
|
116
|
+
* Use `create(SendVoiceInputMessageSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export declare const SendVoiceInputMessageSchema: GenMessage<SendVoiceInputMessage>;
|
|
119
|
+
/**
|
|
120
|
+
* @generated from extension: optional SendVoiceInputMessage sendVoiceInputMessage = 36;
|
|
121
|
+
*/
|
|
122
|
+
export declare const sendVoiceInputMessage: GenExtension<ProtocolMessage, SendVoiceInputMessage>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SetArtworkMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SetArtworkMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SetArtworkMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SetArtworkMessage = Message<"SetArtworkMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional bytes jpegData = 1;
|
|
14
|
+
*/
|
|
15
|
+
jpegData: Uint8Array;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message SetArtworkMessage.
|
|
19
|
+
* Use `create(SetArtworkMessageSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SetArtworkMessageSchema: GenMessage<SetArtworkMessage>;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from extension: optional SetArtworkMessage setArtworkMessage = 10;
|
|
24
|
+
*/
|
|
25
|
+
export declare const setArtworkMessage: GenExtension<ProtocolMessage, SetArtworkMessage>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SetConnectionStateMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SetConnectionStateMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SetConnectionStateMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SetConnectionStateMessage = Message<"SetConnectionStateMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional SetConnectionStateMessage.ConnectionState state = 1;
|
|
14
|
+
*/
|
|
15
|
+
state: SetConnectionStateMessage_ConnectionState;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message SetConnectionStateMessage.
|
|
19
|
+
* Use `create(SetConnectionStateMessageSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SetConnectionStateMessageSchema: GenMessage<SetConnectionStateMessage>;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum SetConnectionStateMessage.ConnectionState
|
|
24
|
+
*/
|
|
25
|
+
export declare enum SetConnectionStateMessage_ConnectionState {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: None = 0;
|
|
28
|
+
*/
|
|
29
|
+
None = 0,
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum value: Connecting = 1;
|
|
32
|
+
*/
|
|
33
|
+
Connecting = 1,
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum value: Connected = 2;
|
|
36
|
+
*/
|
|
37
|
+
Connected = 2,
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum value: Disconnected = 3;
|
|
40
|
+
*/
|
|
41
|
+
Disconnected = 3
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Describes the enum SetConnectionStateMessage.ConnectionState.
|
|
45
|
+
*/
|
|
46
|
+
export declare const SetConnectionStateMessage_ConnectionStateSchema: GenEnum<SetConnectionStateMessage_ConnectionState>;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from extension: optional SetConnectionStateMessage setConnectionStateMessage = 42;
|
|
49
|
+
*/
|
|
50
|
+
export declare const setConnectionStateMessage: GenExtension<ProtocolMessage, SetConnectionStateMessage>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { NowPlayingInfo } from "./NowPlayingInfo_pb";
|
|
4
|
+
import type { PlaybackQueue } from "./PlaybackQueue_pb";
|
|
5
|
+
import type { SupportedCommands } from "./SupportedCommands_pb";
|
|
6
|
+
import type { PlaybackQueueCapabilities } from "./PlaybackQueueCapabilities_pb";
|
|
7
|
+
import type { PlayerPath } from "./PlayerPath_pb";
|
|
8
|
+
import type { PlaybackQueueRequestMessage } from "./PlaybackQueueRequestMessage_pb";
|
|
9
|
+
import type { PlaybackState_Enum } from "./Common_pb";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file SetDefaultSupportedCommandsMessage.proto.
|
|
13
|
+
*/
|
|
14
|
+
export declare const file_SetDefaultSupportedCommandsMessage: GenFile;
|
|
15
|
+
/**
|
|
16
|
+
* Seems to be the same as SetStateMessage
|
|
17
|
+
*
|
|
18
|
+
* @generated from message SetDefaultSupportedCommandsMessage
|
|
19
|
+
*/
|
|
20
|
+
export type SetDefaultSupportedCommandsMessage = Message<"SetDefaultSupportedCommandsMessage"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: optional NowPlayingInfo nowPlayingInfo = 1;
|
|
23
|
+
*/
|
|
24
|
+
nowPlayingInfo?: NowPlayingInfo;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: optional SupportedCommands supportedCommands = 2;
|
|
27
|
+
*/
|
|
28
|
+
supportedCommands?: SupportedCommands;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: optional PlaybackQueue playbackQueue = 3;
|
|
31
|
+
*/
|
|
32
|
+
playbackQueue?: PlaybackQueue;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: optional string displayID = 4;
|
|
35
|
+
*/
|
|
36
|
+
displayID: string;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: optional string displayName = 5;
|
|
39
|
+
*/
|
|
40
|
+
displayName: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: optional PlaybackState.Enum playbackState = 6;
|
|
43
|
+
*/
|
|
44
|
+
playbackState: PlaybackState_Enum;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: optional PlaybackQueueCapabilities playbackQueueCapabilities = 8;
|
|
47
|
+
*/
|
|
48
|
+
playbackQueueCapabilities?: PlaybackQueueCapabilities;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: optional PlayerPath playerPath = 9;
|
|
51
|
+
*/
|
|
52
|
+
playerPath?: PlayerPath;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: optional PlaybackQueueRequestMessage request = 10;
|
|
55
|
+
*/
|
|
56
|
+
request?: PlaybackQueueRequestMessage;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: optional double playbackStateTimestamp = 11;
|
|
59
|
+
*/
|
|
60
|
+
playbackStateTimestamp: number;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message SetDefaultSupportedCommandsMessage.
|
|
64
|
+
* Use `create(SetDefaultSupportedCommandsMessageSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export declare const SetDefaultSupportedCommandsMessageSchema: GenMessage<SetDefaultSupportedCommandsMessage>;
|
|
67
|
+
/**
|
|
68
|
+
* @generated from extension: optional SetDefaultSupportedCommandsMessage setDefaultSupportedCommandsMessage = 75;
|
|
69
|
+
*/
|
|
70
|
+
export declare const setDefaultSupportedCommandsMessage: GenExtension<ProtocolMessage, SetDefaultSupportedCommandsMessage>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SetDiscoveryModeMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SetDiscoveryModeMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SetDiscoveryModeMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SetDiscoveryModeMessage = Message<"SetDiscoveryModeMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional int32 mode = 1;
|
|
14
|
+
*/
|
|
15
|
+
mode: number;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional int32 features = 2;
|
|
18
|
+
*/
|
|
19
|
+
features: number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message SetDiscoveryModeMessage.
|
|
23
|
+
* Use `create(SetDiscoveryModeMessageSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SetDiscoveryModeMessageSchema: GenMessage<SetDiscoveryModeMessage>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from extension: optional SetDiscoveryModeMessage setDiscoveryModeMessage = 82;
|
|
28
|
+
*/
|
|
29
|
+
export declare const setDiscoveryModeMessage: GenExtension<ProtocolMessage, SetDiscoveryModeMessage>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SetHiliteModeMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SetHiliteModeMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SetHiliteModeMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SetHiliteModeMessage = Message<"SetHiliteModeMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional int32 hiliteMode = 1;
|
|
14
|
+
*/
|
|
15
|
+
hiliteMode: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message SetHiliteModeMessage.
|
|
19
|
+
* Use `create(SetHiliteModeMessageSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SetHiliteModeMessageSchema: GenMessage<SetHiliteModeMessage>;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from extension: optional SetHiliteModeMessage setHiliteModeMessage = 44;
|
|
24
|
+
*/
|
|
25
|
+
export declare const setHiliteModeMessage: GenExtension<ProtocolMessage, SetHiliteModeMessage>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { NowPlayingClient } from "./NowPlayingClient_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file SetNowPlayingClientMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_SetNowPlayingClientMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message SetNowPlayingClientMessage
|
|
11
|
+
*/
|
|
12
|
+
export type SetNowPlayingClientMessage = Message<"SetNowPlayingClientMessage"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional NowPlayingClient client = 1;
|
|
15
|
+
*/
|
|
16
|
+
client?: NowPlayingClient;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message SetNowPlayingClientMessage.
|
|
20
|
+
* Use `create(SetNowPlayingClientMessageSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const SetNowPlayingClientMessageSchema: GenMessage<SetNowPlayingClientMessage>;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from extension: optional SetNowPlayingClientMessage setNowPlayingClientMessage = 50;
|
|
25
|
+
*/
|
|
26
|
+
export declare const setNowPlayingClientMessage: GenExtension<ProtocolMessage, SetNowPlayingClientMessage>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { PlayerPath } from "./PlayerPath_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file SetNowPlayingPlayerMessage.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_SetNowPlayingPlayerMessage: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message SetNowPlayingPlayerMessage
|
|
11
|
+
*/
|
|
12
|
+
export type SetNowPlayingPlayerMessage = Message<"SetNowPlayingPlayerMessage"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: optional PlayerPath playerPath = 1;
|
|
15
|
+
*/
|
|
16
|
+
playerPath?: PlayerPath;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message SetNowPlayingPlayerMessage.
|
|
20
|
+
* Use `create(SetNowPlayingPlayerMessageSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const SetNowPlayingPlayerMessageSchema: GenMessage<SetNowPlayingPlayerMessage>;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from extension: optional SetNowPlayingPlayerMessage setNowPlayingPlayerMessage = 51;
|
|
25
|
+
*/
|
|
26
|
+
export declare const setNowPlayingPlayerMessage: GenExtension<ProtocolMessage, SetNowPlayingPlayerMessage>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SetRecordingStateMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SetRecordingStateMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SetRecordingStateMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SetRecordingStateMessage = Message<"SetRecordingStateMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional SetRecordingStateMessage.RecordingState state = 1;
|
|
14
|
+
*/
|
|
15
|
+
state: SetRecordingStateMessage_RecordingState;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message SetRecordingStateMessage.
|
|
19
|
+
* Use `create(SetRecordingStateMessageSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SetRecordingStateMessageSchema: GenMessage<SetRecordingStateMessage>;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum SetRecordingStateMessage.RecordingState
|
|
24
|
+
*/
|
|
25
|
+
export declare enum SetRecordingStateMessage_RecordingState {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: Unknown = 0;
|
|
28
|
+
*/
|
|
29
|
+
Unknown = 0,
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum value: Recording = 1;
|
|
32
|
+
*/
|
|
33
|
+
Recording = 1,
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum value: NotRecording = 2;
|
|
36
|
+
*/
|
|
37
|
+
NotRecording = 2
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Describes the enum SetRecordingStateMessage.RecordingState.
|
|
41
|
+
*/
|
|
42
|
+
export declare const SetRecordingStateMessage_RecordingStateSchema: GenEnum<SetRecordingStateMessage_RecordingState>;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from extension: optional SetRecordingStateMessage setRecordingStateMessage = 35;
|
|
45
|
+
*/
|
|
46
|
+
export declare const setRecordingStateMessage: GenExtension<ProtocolMessage, SetRecordingStateMessage>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { NowPlayingInfo } from "./NowPlayingInfo_pb";
|
|
4
|
+
import type { PlaybackQueue } from "./PlaybackQueue_pb";
|
|
5
|
+
import type { SupportedCommands } from "./SupportedCommands_pb";
|
|
6
|
+
import type { PlaybackQueueCapabilities } from "./PlaybackQueueCapabilities_pb";
|
|
7
|
+
import type { PlayerPath } from "./PlayerPath_pb";
|
|
8
|
+
import type { PlaybackQueueRequestMessage } from "./PlaybackQueueRequestMessage_pb";
|
|
9
|
+
import type { PlaybackState_Enum } from "./Common_pb";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file SetStateMessage.proto.
|
|
13
|
+
*/
|
|
14
|
+
export declare const file_SetStateMessage: GenFile;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message SetStateMessage
|
|
17
|
+
*/
|
|
18
|
+
export type SetStateMessage = Message<"SetStateMessage"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: optional NowPlayingInfo nowPlayingInfo = 1;
|
|
21
|
+
*/
|
|
22
|
+
nowPlayingInfo?: NowPlayingInfo;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: optional SupportedCommands supportedCommands = 2;
|
|
25
|
+
*/
|
|
26
|
+
supportedCommands?: SupportedCommands;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: optional PlaybackQueue playbackQueue = 3;
|
|
29
|
+
*/
|
|
30
|
+
playbackQueue?: PlaybackQueue;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: optional string displayID = 4;
|
|
33
|
+
*/
|
|
34
|
+
displayID: string;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: optional string displayName = 5;
|
|
37
|
+
*/
|
|
38
|
+
displayName: string;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: optional PlaybackState.Enum playbackState = 6;
|
|
41
|
+
*/
|
|
42
|
+
playbackState: PlaybackState_Enum;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: optional PlaybackQueueCapabilities playbackQueueCapabilities = 8;
|
|
45
|
+
*/
|
|
46
|
+
playbackQueueCapabilities?: PlaybackQueueCapabilities;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: optional PlayerPath playerPath = 9;
|
|
49
|
+
*/
|
|
50
|
+
playerPath?: PlayerPath;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: optional PlaybackQueueRequestMessage request = 10;
|
|
53
|
+
*/
|
|
54
|
+
request?: PlaybackQueueRequestMessage;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: optional double playbackStateTimestamp = 11;
|
|
57
|
+
*/
|
|
58
|
+
playbackStateTimestamp: number;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message SetStateMessage.
|
|
62
|
+
* Use `create(SetStateMessageSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export declare const SetStateMessageSchema: GenMessage<SetStateMessage>;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from extension: optional SetStateMessage setStateMessage = 9;
|
|
67
|
+
*/
|
|
68
|
+
export declare const setStateMessage: GenExtension<ProtocolMessage, SetStateMessage>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ProtocolMessage } from "./ProtocolMessage_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SetVolumeMessage.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SetVolumeMessage: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SetVolumeMessage
|
|
10
|
+
*/
|
|
11
|
+
export type SetVolumeMessage = Message<"SetVolumeMessage"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: optional float volume = 1;
|
|
14
|
+
*/
|
|
15
|
+
volume: number;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional string outputDeviceUID = 2;
|
|
18
|
+
*/
|
|
19
|
+
outputDeviceUID: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message SetVolumeMessage.
|
|
23
|
+
* Use `create(SetVolumeMessageSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SetVolumeMessageSchema: GenMessage<SetVolumeMessage>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from extension: optional SetVolumeMessage setVolumeMessage = 55;
|
|
28
|
+
*/
|
|
29
|
+
export declare const setVolumeMessage: GenExtension<ProtocolMessage, SetVolumeMessage>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { CommandInfo } from "./CommandInfo_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file SupportedCommands.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_SupportedCommands: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message SupportedCommands
|
|
10
|
+
*/
|
|
11
|
+
export type SupportedCommands = Message<"SupportedCommands"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: repeated CommandInfo supportedCommands = 1;
|
|
14
|
+
*/
|
|
15
|
+
supportedCommands: CommandInfo[];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message SupportedCommands.
|
|
19
|
+
* Use `create(SupportedCommandsSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SupportedCommandsSchema: GenMessage<SupportedCommands>;
|