@basmilius/apple-airplay 0.0.11 → 0.0.13

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.
Files changed (95) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.js +156 -2
  3. package/dist/index.js.map +138 -3
  4. package/dist/proto/AudioFadeMessage_pb.d.ts +30 -0
  5. package/dist/proto/AudioFadeResponseMessage_pb.d.ts +25 -0
  6. package/dist/proto/AudioFormatSettingsMessage_pb.d.ts +20 -0
  7. package/dist/proto/ClientUpdatesConfigMessage_pb.d.ts +41 -0
  8. package/dist/proto/CommandInfo_pb.d.ts +452 -0
  9. package/dist/proto/CommandOptions_pb.d.ts +137 -0
  10. package/dist/proto/Common_pb.d.ts +306 -0
  11. package/dist/proto/ConfigureConnectionMessage_pb.d.ts +25 -0
  12. package/dist/proto/ContentItemMetadata_pb.d.ts +812 -0
  13. package/dist/proto/ContentItem_pb.d.ts +91 -0
  14. package/dist/proto/CryptoPairingMessage_pb.d.ts +45 -0
  15. package/dist/proto/DeviceInfoMessage_pb.d.ts +270 -0
  16. package/dist/proto/GenericMessage_pb.d.ts +29 -0
  17. package/dist/proto/GetKeyboardSessionMessage_pb.d.ts +20 -0
  18. package/dist/proto/GetRemoteTextInputSessionMessage_pb.d.ts +20 -0
  19. package/dist/proto/GetVolumeMessage_pb.d.ts +25 -0
  20. package/dist/proto/GetVolumeResultMessage_pb.d.ts +25 -0
  21. package/dist/proto/KeyboardMessage_pb.d.ts +321 -0
  22. package/dist/proto/LanguageOption_pb.d.ts +36 -0
  23. package/dist/proto/ModifyOutputContextRequestMessage_pb.d.ts +71 -0
  24. package/dist/proto/NotificationMessage_pb.d.ts +29 -0
  25. package/dist/proto/NowPlayingClient_pb.d.ts +46 -0
  26. package/dist/proto/NowPlayingInfo_pb.d.ts +89 -0
  27. package/dist/proto/NowPlayingPlayer_pb.d.ts +44 -0
  28. package/dist/proto/OriginClientPropertiesMessage_pb.d.ts +25 -0
  29. package/dist/proto/Origin_pb.d.ts +58 -0
  30. package/dist/proto/PlaybackQueueCapabilities_pb.d.ts +28 -0
  31. package/dist/proto/PlaybackQueueContext_pb.d.ts +20 -0
  32. package/dist/proto/PlaybackQueueRequestMessage_pb.d.ts +91 -0
  33. package/dist/proto/PlaybackQueue_pb.d.ts +47 -0
  34. package/dist/proto/PlayerClientPropertiesMessage_pb.d.ts +30 -0
  35. package/dist/proto/PlayerPath_pb.d.ts +31 -0
  36. package/dist/proto/ProtocolMessage_pb.d.ts +659 -0
  37. package/dist/proto/RegisterForGameControllerEventsMessage_pb.d.ts +50 -0
  38. package/dist/proto/RegisterHIDDeviceMessage_pb.d.ts +26 -0
  39. package/dist/proto/RegisterHIDDeviceResultMessage_pb.d.ts +29 -0
  40. package/dist/proto/RegisterVoiceInputDeviceMessage_pb.d.ts +26 -0
  41. package/dist/proto/RegisterVoiceInputDeviceResponseMessage_pb.d.ts +29 -0
  42. package/dist/proto/RemoteTextInputMessage_pb.d.ts +33 -0
  43. package/dist/proto/RemoveClientMessage_pb.d.ts +26 -0
  44. package/dist/proto/RemoveEndpointsMessage_pb.d.ts +25 -0
  45. package/dist/proto/RemoveOutputDevicesMessage_pb.d.ts +29 -0
  46. package/dist/proto/RemovePlayerMessage_pb.d.ts +26 -0
  47. package/dist/proto/SendButtonEventMessage_pb.d.ts +33 -0
  48. package/dist/proto/SendCommandMessage_pb.d.ts +36 -0
  49. package/dist/proto/SendCommandResultMessage_pb.d.ts +363 -0
  50. package/dist/proto/SendHIDEventMessage_pb.d.ts +56 -0
  51. package/dist/proto/SendPackedVirtualTouchEventMessage_pb.d.ts +60 -0
  52. package/dist/proto/SendVoiceInputMessage_pb.d.ts +122 -0
  53. package/dist/proto/SetArtworkMessage_pb.d.ts +25 -0
  54. package/dist/proto/SetConnectionStateMessage_pb.d.ts +50 -0
  55. package/dist/proto/SetDefaultSupportedCommandsMessage_pb.d.ts +70 -0
  56. package/dist/proto/SetDiscoveryModeMessage_pb.d.ts +29 -0
  57. package/dist/proto/SetHiliteModeMessage_pb.d.ts +25 -0
  58. package/dist/proto/SetNowPlayingClientMessage_pb.d.ts +26 -0
  59. package/dist/proto/SetNowPlayingPlayerMessage_pb.d.ts +26 -0
  60. package/dist/proto/SetRecordingStateMessage_pb.d.ts +46 -0
  61. package/dist/proto/SetStateMessage_pb.d.ts +68 -0
  62. package/dist/proto/SetVolumeMessage_pb.d.ts +29 -0
  63. package/dist/proto/SupportedCommands_pb.d.ts +21 -0
  64. package/dist/proto/TextInputMessage_pb.d.ts +73 -0
  65. package/dist/proto/TransactionKey_pb.d.ts +24 -0
  66. package/dist/proto/TransactionMessage_pb.d.ts +35 -0
  67. package/dist/proto/TransactionPacket_pb.d.ts +37 -0
  68. package/dist/proto/TransactionPackets_pb.d.ts +21 -0
  69. package/dist/proto/UpdateClientMessage_pb.d.ts +26 -0
  70. package/dist/proto/UpdateContentItemArtworkMessage_pb.d.ts +31 -0
  71. package/dist/proto/UpdateContentItemMessage_pb.d.ts +31 -0
  72. package/dist/proto/UpdateEndPointsMessage_pb.d.ts +72 -0
  73. package/dist/proto/UpdateOutputDeviceMessage_pb.d.ts +322 -0
  74. package/dist/proto/UpdatePlayerPath_pb.d.ts +26 -0
  75. package/dist/proto/VirtualTouchDeviceDescriptorMessage_pb.d.ts +32 -0
  76. package/dist/proto/VoiceInputDeviceDescriptorMessage_pb.d.ts +25 -0
  77. package/dist/proto/VolumeControlAvailabilityMessage_pb.d.ts +66 -0
  78. package/dist/proto/VolumeControlCapabilitiesDidChangeMessage_pb.d.ts +34 -0
  79. package/dist/proto/VolumeDidChangeMessage_pb.d.ts +33 -0
  80. package/dist/proto/WakeDeviceMessage_pb.d.ts +20 -0
  81. package/dist/proto/index.d.ts +77 -0
  82. package/dist/protocol/dataStream.d.ts +13 -0
  83. package/dist/protocol/dataStreamMessages.d.ts +9 -0
  84. package/dist/protocol/eventStream.d.ts +7 -0
  85. package/dist/protocol/index.d.ts +7 -0
  86. package/dist/protocol/pairing.d.ts +12 -0
  87. package/dist/protocol/protocol.d.ts +21 -0
  88. package/dist/protocol/rtsp.d.ts +15 -0
  89. package/dist/protocol/stream.d.ts +22 -0
  90. package/dist/protocol/utils.d.ts +18 -0
  91. package/dist/protocol/verify.d.ts +9 -0
  92. package/dist/test.d.ts +1 -0
  93. package/dist/test.js +158 -0
  94. package/dist/test.js.map +145 -0
  95. package/package.json +6 -2
@@ -0,0 +1,73 @@
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 TextInputMessage.proto.
6
+ */
7
+ export declare const file_TextInputMessage: GenFile;
8
+ /**
9
+ * @generated from message ActionType
10
+ */
11
+ export type ActionType = Message<"ActionType"> & {};
12
+ /**
13
+ * Describes the message ActionType.
14
+ * Use `create(ActionTypeSchema)` to create a new message.
15
+ */
16
+ export declare const ActionTypeSchema: GenMessage<ActionType>;
17
+ /**
18
+ * @generated from enum ActionType.Enum
19
+ */
20
+ export declare enum ActionType_Enum {
21
+ /**
22
+ * @generated from enum value: Unknown = 0;
23
+ */
24
+ Unknown = 0,
25
+ /**
26
+ * @generated from enum value: Insert = 1;
27
+ */
28
+ Insert = 1,
29
+ /**
30
+ * @generated from enum value: Set = 2;
31
+ */
32
+ Set = 2,
33
+ /**
34
+ * @generated from enum value: Delete = 3;
35
+ */
36
+ Delete = 3,
37
+ /**
38
+ * "Clear" clashes with something, making mypy unhappy
39
+ *
40
+ * @generated from enum value: ClearAction = 4;
41
+ */
42
+ ClearAction = 4
43
+ }
44
+ /**
45
+ * Describes the enum ActionType.Enum.
46
+ */
47
+ export declare const ActionType_EnumSchema: GenEnum<ActionType_Enum>;
48
+ /**
49
+ * @generated from message TextInputMessage
50
+ */
51
+ export type TextInputMessage = Message<"TextInputMessage"> & {
52
+ /**
53
+ * @generated from field: optional double timestamp = 1;
54
+ */
55
+ timestamp: number;
56
+ /**
57
+ * @generated from field: optional string text = 2;
58
+ */
59
+ text: string;
60
+ /**
61
+ * @generated from field: optional ActionType.Enum actionType = 3;
62
+ */
63
+ actionType: ActionType_Enum;
64
+ };
65
+ /**
66
+ * Describes the message TextInputMessage.
67
+ * Use `create(TextInputMessageSchema)` to create a new message.
68
+ */
69
+ export declare const TextInputMessageSchema: GenMessage<TextInputMessage>;
70
+ /**
71
+ * @generated from extension: optional TextInputMessage textInputMessage = 30;
72
+ */
73
+ export declare const textInputMessage: GenExtension<ProtocolMessage, TextInputMessage>;
@@ -0,0 +1,24 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file TransactionKey.proto.
5
+ */
6
+ export declare const file_TransactionKey: GenFile;
7
+ /**
8
+ * @generated from message TransactionKey
9
+ */
10
+ export type TransactionKey = Message<"TransactionKey"> & {
11
+ /**
12
+ * @generated from field: optional string identifier = 1;
13
+ */
14
+ identifier: string;
15
+ /**
16
+ * @generated from field: optional bytes userData = 2;
17
+ */
18
+ userData: Uint8Array;
19
+ };
20
+ /**
21
+ * Describes the message TransactionKey.
22
+ * Use `create(TransactionKeySchema)` to create a new message.
23
+ */
24
+ export declare const TransactionKeySchema: GenMessage<TransactionKey>;
@@ -0,0 +1,35 @@
1
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { TransactionPackets } from "./TransactionPackets_pb";
3
+ import type { ProtocolMessage } from "./ProtocolMessage_pb";
4
+ import type { PlayerPath } from "./PlayerPath_pb";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file TransactionMessage.proto.
8
+ */
9
+ export declare const file_TransactionMessage: GenFile;
10
+ /**
11
+ * @generated from message TransactionMessage
12
+ */
13
+ export type TransactionMessage = Message<"TransactionMessage"> & {
14
+ /**
15
+ * @generated from field: optional uint64 name = 1;
16
+ */
17
+ name: bigint;
18
+ /**
19
+ * @generated from field: optional TransactionPackets packets = 2;
20
+ */
21
+ packets?: TransactionPackets;
22
+ /**
23
+ * @generated from field: optional PlayerPath playerPath = 3;
24
+ */
25
+ playerPath?: PlayerPath;
26
+ };
27
+ /**
28
+ * Describes the message TransactionMessage.
29
+ * Use `create(TransactionMessageSchema)` to create a new message.
30
+ */
31
+ export declare const TransactionMessageSchema: GenMessage<TransactionMessage>;
32
+ /**
33
+ * @generated from extension: optional TransactionMessage transactionMessage = 38;
34
+ */
35
+ export declare const transactionMessage: GenExtension<ProtocolMessage, TransactionMessage>;
@@ -0,0 +1,37 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { TransactionKey } from "./TransactionKey_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file TransactionPacket.proto.
6
+ */
7
+ export declare const file_TransactionPacket: GenFile;
8
+ /**
9
+ * @generated from message TransactionPacket
10
+ */
11
+ export type TransactionPacket = Message<"TransactionPacket"> & {
12
+ /**
13
+ * @generated from field: optional TransactionKey key = 1;
14
+ */
15
+ key?: TransactionKey;
16
+ /**
17
+ * @generated from field: optional bytes packetData = 2;
18
+ */
19
+ packetData: Uint8Array;
20
+ /**
21
+ * @generated from field: optional string identifier = 3;
22
+ */
23
+ identifier: string;
24
+ /**
25
+ * @generated from field: optional uint64 totalLength = 4;
26
+ */
27
+ totalLength: bigint;
28
+ /**
29
+ * @generated from field: optional uint64 totalWritePosition = 5;
30
+ */
31
+ totalWritePosition: bigint;
32
+ };
33
+ /**
34
+ * Describes the message TransactionPacket.
35
+ * Use `create(TransactionPacketSchema)` to create a new message.
36
+ */
37
+ export declare const TransactionPacketSchema: GenMessage<TransactionPacket>;
@@ -0,0 +1,21 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { TransactionPacket } from "./TransactionPacket_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file TransactionPackets.proto.
6
+ */
7
+ export declare const file_TransactionPackets: GenFile;
8
+ /**
9
+ * @generated from message TransactionPackets
10
+ */
11
+ export type TransactionPackets = Message<"TransactionPackets"> & {
12
+ /**
13
+ * @generated from field: repeated TransactionPacket packets = 1;
14
+ */
15
+ packets: TransactionPacket[];
16
+ };
17
+ /**
18
+ * Describes the message TransactionPackets.
19
+ * Use `create(TransactionPacketsSchema)` to create a new message.
20
+ */
21
+ export declare const TransactionPacketsSchema: GenMessage<TransactionPackets>;
@@ -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 UpdateClientMessage.proto.
7
+ */
8
+ export declare const file_UpdateClientMessage: GenFile;
9
+ /**
10
+ * @generated from message UpdateClientMessage
11
+ */
12
+ export type UpdateClientMessage = Message<"UpdateClientMessage"> & {
13
+ /**
14
+ * @generated from field: optional NowPlayingClient client = 1;
15
+ */
16
+ client?: NowPlayingClient;
17
+ };
18
+ /**
19
+ * Describes the message UpdateClientMessage.
20
+ * Use `create(UpdateClientMessageSchema)` to create a new message.
21
+ */
22
+ export declare const UpdateClientMessageSchema: GenMessage<UpdateClientMessage>;
23
+ /**
24
+ * @generated from extension: optional UpdateClientMessage updateClientMessage = 59;
25
+ */
26
+ export declare const updateClientMessage: GenExtension<ProtocolMessage, UpdateClientMessage>;
@@ -0,0 +1,31 @@
1
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ProtocolMessage } from "./ProtocolMessage_pb";
3
+ import type { ContentItem } from "./ContentItem_pb";
4
+ import type { PlayerPath } from "./PlayerPath_pb";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file UpdateContentItemArtworkMessage.proto.
8
+ */
9
+ export declare const file_UpdateContentItemArtworkMessage: GenFile;
10
+ /**
11
+ * @generated from message UpdateContentItemArtworkMessage
12
+ */
13
+ export type UpdateContentItemArtworkMessage = Message<"UpdateContentItemArtworkMessage"> & {
14
+ /**
15
+ * @generated from field: repeated ContentItem contentItems = 1;
16
+ */
17
+ contentItems: ContentItem[];
18
+ /**
19
+ * @generated from field: optional PlayerPath playerPath = 2;
20
+ */
21
+ playerPath?: PlayerPath;
22
+ };
23
+ /**
24
+ * Describes the message UpdateContentItemArtworkMessage.
25
+ * Use `create(UpdateContentItemArtworkMessageSchema)` to create a new message.
26
+ */
27
+ export declare const UpdateContentItemArtworkMessageSchema: GenMessage<UpdateContentItemArtworkMessage>;
28
+ /**
29
+ * @generated from extension: optional UpdateContentItemArtworkMessage updateContentItemArtworkMessage = 61;
30
+ */
31
+ export declare const updateContentItemArtworkMessage: GenExtension<ProtocolMessage, UpdateContentItemArtworkMessage>;
@@ -0,0 +1,31 @@
1
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ProtocolMessage } from "./ProtocolMessage_pb";
3
+ import type { ContentItem } from "./ContentItem_pb";
4
+ import type { PlayerPath } from "./PlayerPath_pb";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file UpdateContentItemMessage.proto.
8
+ */
9
+ export declare const file_UpdateContentItemMessage: GenFile;
10
+ /**
11
+ * @generated from message UpdateContentItemMessage
12
+ */
13
+ export type UpdateContentItemMessage = Message<"UpdateContentItemMessage"> & {
14
+ /**
15
+ * @generated from field: repeated ContentItem contentItems = 1;
16
+ */
17
+ contentItems: ContentItem[];
18
+ /**
19
+ * @generated from field: optional PlayerPath playerPath = 2;
20
+ */
21
+ playerPath?: PlayerPath;
22
+ };
23
+ /**
24
+ * Describes the message UpdateContentItemMessage.
25
+ * Use `create(UpdateContentItemMessageSchema)` to create a new message.
26
+ */
27
+ export declare const UpdateContentItemMessageSchema: GenMessage<UpdateContentItemMessage>;
28
+ /**
29
+ * @generated from extension: optional UpdateContentItemMessage updateContentItemMessage = 60;
30
+ */
31
+ export declare const updateContentItemMessage: GenExtension<ProtocolMessage, UpdateContentItemMessage>;
@@ -0,0 +1,72 @@
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 UpdateEndPointsMessage.proto.
6
+ */
7
+ export declare const file_UpdateEndPointsMessage: GenFile;
8
+ /**
9
+ * @generated from message AVEndpointDescriptor
10
+ */
11
+ export type AVEndpointDescriptor = Message<"AVEndpointDescriptor"> & {
12
+ /**
13
+ * @generated from field: optional string name = 1;
14
+ */
15
+ name: string;
16
+ /**
17
+ * @generated from field: optional string uniqueIdentifier = 2;
18
+ */
19
+ uniqueIdentifier: string;
20
+ /**
21
+ * repeated ... outputDevices = 3;
22
+ * optional ... designatedGroupLeader = 4;
23
+ *
24
+ * @generated from field: optional bool isLocalEndpoint = 5;
25
+ */
26
+ isLocalEndpoint: boolean;
27
+ /**
28
+ * @generated from field: optional string instanceIdentifier = 6;
29
+ */
30
+ instanceIdentifier: string;
31
+ /**
32
+ * @generated from field: optional bool isProxyGroupPlayer = 7;
33
+ */
34
+ isProxyGroupPlayer: boolean;
35
+ /**
36
+ * @generated from field: optional int32 connectionType = 8;
37
+ */
38
+ connectionType: number;
39
+ /**
40
+ * repeated ... _personalOutputDevices = 10;
41
+ *
42
+ * @generated from field: optional bool canModifyGroupMembership = 9;
43
+ */
44
+ canModifyGroupMembership: boolean;
45
+ };
46
+ /**
47
+ * Describes the message AVEndpointDescriptor.
48
+ * Use `create(AVEndpointDescriptorSchema)` to create a new message.
49
+ */
50
+ export declare const AVEndpointDescriptorSchema: GenMessage<AVEndpointDescriptor>;
51
+ /**
52
+ * @generated from message UpdateEndPointsMessage
53
+ */
54
+ export type UpdateEndPointsMessage = Message<"UpdateEndPointsMessage"> & {
55
+ /**
56
+ * @generated from field: optional AVEndpointDescriptor endpoints = 1;
57
+ */
58
+ endpoints?: AVEndpointDescriptor;
59
+ /**
60
+ * @generated from field: optional int32 endpointFeatures = 2;
61
+ */
62
+ endpointFeatures: number;
63
+ };
64
+ /**
65
+ * Describes the message UpdateEndPointsMessage.
66
+ * Use `create(UpdateEndPointsMessageSchema)` to create a new message.
67
+ */
68
+ export declare const UpdateEndPointsMessageSchema: GenMessage<UpdateEndPointsMessage>;
69
+ /**
70
+ * @generated from extension: optional UpdateEndPointsMessage updateEndPointsMessage = 83;
71
+ */
72
+ export declare const updateEndPointsMessage: GenExtension<ProtocolMessage, UpdateEndPointsMessage>;
@@ -0,0 +1,322 @@
1
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ProtocolMessage } from "./ProtocolMessage_pb";
3
+ import type { DeviceSubType_Enum, DeviceType_Enum } from "./Common_pb";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file UpdateOutputDeviceMessage.proto.
7
+ */
8
+ export declare const file_UpdateOutputDeviceMessage: GenFile;
9
+ /**
10
+ * @generated from message AVOutputDeviceSourceInfo
11
+ */
12
+ export type AVOutputDeviceSourceInfo = Message<"AVOutputDeviceSourceInfo"> & {
13
+ /**
14
+ * @generated from field: optional string routingContextUID = 1;
15
+ */
16
+ routingContextUID: string;
17
+ /**
18
+ * @generated from field: optional bool multipleBuiltInDevices = 2;
19
+ */
20
+ multipleBuiltInDevices: boolean;
21
+ };
22
+ /**
23
+ * Describes the message AVOutputDeviceSourceInfo.
24
+ * Use `create(AVOutputDeviceSourceInfoSchema)` to create a new message.
25
+ */
26
+ export declare const AVOutputDeviceSourceInfoSchema: GenMessage<AVOutputDeviceSourceInfo>;
27
+ /**
28
+ * @generated from message AVOutputDeviceDescriptor
29
+ */
30
+ export type AVOutputDeviceDescriptor = Message<"AVOutputDeviceDescriptor"> & {
31
+ /**
32
+ * @generated from field: optional string name = 1;
33
+ */
34
+ name: string;
35
+ /**
36
+ * @generated from field: optional string uniqueIdentifier = 2;
37
+ */
38
+ uniqueIdentifier: string;
39
+ /**
40
+ * @generated from field: optional string groupID = 3;
41
+ */
42
+ groupID: string;
43
+ /**
44
+ * @generated from field: optional string modelID = 4;
45
+ */
46
+ modelID: string;
47
+ /**
48
+ * @generated from field: optional bytes macAddress = 5;
49
+ */
50
+ macAddress: Uint8Array;
51
+ /**
52
+ * @generated from field: optional bool canAccessRemoteAssets = 6;
53
+ */
54
+ canAccessRemoteAssets: boolean;
55
+ /**
56
+ * @generated from field: optional bool isRemoteControllable = 7;
57
+ */
58
+ isRemoteControllable: boolean;
59
+ /**
60
+ * @generated from field: optional bool isGroupLeader = 8;
61
+ */
62
+ isGroupLeader: boolean;
63
+ /**
64
+ * @generated from field: optional bool isGroupable = 9;
65
+ */
66
+ isGroupable: boolean;
67
+ /**
68
+ * @generated from field: optional DeviceType.Enum deviceType = 10;
69
+ */
70
+ deviceType: DeviceType_Enum;
71
+ /**
72
+ * @generated from field: optional DeviceSubType.Enum deviceSubType = 11;
73
+ */
74
+ deviceSubType: DeviceSubType_Enum;
75
+ /**
76
+ * @generated from field: optional bytes modelSpecificInfoData = 12;
77
+ */
78
+ modelSpecificInfoData: Uint8Array;
79
+ /**
80
+ * @generated from field: optional float batteryLevel = 13;
81
+ */
82
+ batteryLevel: number;
83
+ /**
84
+ * @generated from field: optional bool isLocalDevice = 14;
85
+ */
86
+ isLocalDevice: boolean;
87
+ /**
88
+ * @generated from field: optional bool supportsExternalScreen = 15;
89
+ */
90
+ supportsExternalScreen: boolean;
91
+ /**
92
+ * @generated from field: optional bool requiresAuthorization = 16;
93
+ */
94
+ requiresAuthorization: boolean;
95
+ /**
96
+ * @generated from field: optional bool shouldForceRemoteControlabillity = 17;
97
+ */
98
+ shouldForceRemoteControlabillity: boolean;
99
+ /**
100
+ * @generated from field: optional AVOutputDeviceSourceInfo sourceInfo = 18;
101
+ */
102
+ sourceInfo?: AVOutputDeviceSourceInfo;
103
+ /**
104
+ * @generated from field: optional bool isDeviceGroupable = 19;
105
+ */
106
+ isDeviceGroupable: boolean;
107
+ /**
108
+ * @generated from field: optional bool canRelayCommunicationChannel = 20;
109
+ */
110
+ canRelayCommunicationChannel: boolean;
111
+ /**
112
+ * @generated from field: optional string logicalDeviceID = 21;
113
+ */
114
+ logicalDeviceID: string;
115
+ /**
116
+ * @generated from field: optional bool isProxyGroupPlayer = 22;
117
+ */
118
+ isProxyGroupPlayer: boolean;
119
+ /**
120
+ * @generated from field: optional string firmwareVersion = 23;
121
+ */
122
+ firmwareVersion: string;
123
+ /**
124
+ * @generated from field: optional float volume = 24;
125
+ */
126
+ volume: number;
127
+ /**
128
+ * @generated from field: optional bool isVolumeControlAvailable = 25;
129
+ */
130
+ isVolumeControlAvailable: boolean;
131
+ /**
132
+ * @generated from field: optional bool canAccessAppleMusic = 26;
133
+ */
134
+ canAccessAppleMusic: boolean;
135
+ /**
136
+ * @generated from field: optional bool canAccessiCloudMusicLibrary = 27;
137
+ */
138
+ canAccessiCloudMusicLibrary: boolean;
139
+ /**
140
+ * @generated from field: optional bool groupContainsGroupLeader = 28;
141
+ */
142
+ groupContainsGroupLeader: boolean;
143
+ /**
144
+ * @generated from field: optional bool supportsBufferedAirPlay = 29;
145
+ */
146
+ supportsBufferedAirPlay: boolean;
147
+ /**
148
+ * @generated from field: optional bool canPlayEncryptedProgressiveDownloadAssets = 30;
149
+ */
150
+ canPlayEncryptedProgressiveDownloadAssets: boolean;
151
+ /**
152
+ * @generated from field: optional bool canFetchMediaDataFromSender = 31;
153
+ */
154
+ canFetchMediaDataFromSender: boolean;
155
+ /**
156
+ * @generated from field: optional bool resentsOptimizedUserInterfaceWhenPlayingFetchedAudioOnlyAssets = 32;
157
+ */
158
+ resentsOptimizedUserInterfaceWhenPlayingFetchedAudioOnlyAssets: boolean;
159
+ /**
160
+ * @generated from field: optional bool isAirPlayReceiverSessionActive = 33;
161
+ */
162
+ isAirPlayReceiverSessionActive: boolean;
163
+ /**
164
+ * @generated from field: optional string parentGroupIdentifier = 34;
165
+ */
166
+ parentGroupIdentifier: string;
167
+ /**
168
+ * @generated from field: optional bool parentGroupContainsDiscoverableLeader = 35;
169
+ */
170
+ parentGroupContainsDiscoverableLeader: boolean;
171
+ /**
172
+ * @generated from field: optional bool isAddedToHomeKit = 36;
173
+ */
174
+ isAddedToHomeKit: boolean;
175
+ /**
176
+ * @generated from field: optional int32 volumeCapabilities = 37;
177
+ */
178
+ volumeCapabilities: number;
179
+ /**
180
+ * @generated from field: optional string bluetoothID = 38;
181
+ */
182
+ bluetoothID: string;
183
+ /**
184
+ * @generated from field: optional bool supportsHAP = 39;
185
+ */
186
+ supportsHAP: boolean;
187
+ /**
188
+ * @generated from field: optional bool usingJSONProtocol = 40;
189
+ */
190
+ usingJSONProtocol: boolean;
191
+ /**
192
+ * @generated from field: repeated AVOutputDeviceDescriptor clusterCompositions = 41;
193
+ */
194
+ clusterCompositions: AVOutputDeviceDescriptor[];
195
+ /**
196
+ * @generated from field: optional uint32 clusterType = 42;
197
+ */
198
+ clusterType: number;
199
+ /**
200
+ * @generated from field: optional string primaryUID = 43;
201
+ */
202
+ primaryUID: string;
203
+ /**
204
+ * @generated from field: optional uint32 configuredClusterSize = 44;
205
+ */
206
+ configuredClusterSize: number;
207
+ /**
208
+ * @generated from field: optional bool supportsRapportRemoteControlTransport = 45;
209
+ */
210
+ supportsRapportRemoteControlTransport: boolean;
211
+ /**
212
+ * @generated from field: optional string currentBluetoothListeningMode = 46;
213
+ */
214
+ currentBluetoothListeningMode: string;
215
+ /**
216
+ * @generated from field: repeated string availableBluetoothListeningModes = 47;
217
+ */
218
+ availableBluetoothListeningModes: string[];
219
+ /**
220
+ * @generated from field: repeated bool supportsMultiplayer = 48;
221
+ */
222
+ supportsMultiplayer: boolean[];
223
+ /**
224
+ * @generated from field: optional bool producesLowFidelityAudio = 49;
225
+ */
226
+ producesLowFidelityAudio: boolean;
227
+ /**
228
+ * @generated from field: optional int32 hostDeviceClass = 50;
229
+ */
230
+ hostDeviceClass: number;
231
+ /**
232
+ * @generated from field: optional string airPlayGroupID = 51;
233
+ */
234
+ airPlayGroupID: string;
235
+ /**
236
+ * @generated from field: optional bool supportsSharePlayHandoff = 52;
237
+ */
238
+ supportsSharePlayHandoff: boolean;
239
+ /**
240
+ * @generated from field: optional float distance = 53;
241
+ */
242
+ distance: number;
243
+ /**
244
+ * @generated from field: optional bool discoveredOnSameInfra = 54;
245
+ */
246
+ discoveredOnSameInfra: boolean;
247
+ /**
248
+ * @generated from field: repeated AVOutputDeviceDescriptor activatedClusterMembers = 55;
249
+ */
250
+ activatedClusterMembers: AVOutputDeviceDescriptor[];
251
+ /**
252
+ * @generated from field: repeated bool pickable = 56;
253
+ */
254
+ pickable: boolean[];
255
+ /**
256
+ * @generated from field: optional int32 transportType = 57;
257
+ */
258
+ transportType: number;
259
+ /**
260
+ * @generated from field: optional string clusterID = 58;
261
+ */
262
+ clusterID: string;
263
+ /**
264
+ * @generated from field: optional bool isClusterLeader = 59;
265
+ */
266
+ isClusterLeader: boolean;
267
+ /**
268
+ * @generated from field: optional bool isAppleAccessory = 60;
269
+ */
270
+ isAppleAccessory: boolean;
271
+ /**
272
+ * @generated from field: optional string parentUniqueIdentifier = 61;
273
+ */
274
+ parentUniqueIdentifier: string;
275
+ /**
276
+ * @generated from field: optional string roomID = 62;
277
+ */
278
+ roomID: string;
279
+ /**
280
+ * @generated from field: optional string roomName = 63;
281
+ */
282
+ roomName: string;
283
+ /**
284
+ * @generated from field: repeated AVOutputDeviceDescriptor allClusterMembers = 64;
285
+ */
286
+ allClusterMembers: AVOutputDeviceDescriptor[];
287
+ /**
288
+ * @generated from field: optional bool engageOnClusterActivate = 67;
289
+ */
290
+ engageOnClusterActivate: boolean;
291
+ };
292
+ /**
293
+ * Describes the message AVOutputDeviceDescriptor.
294
+ * Use `create(AVOutputDeviceDescriptorSchema)` to create a new message.
295
+ */
296
+ export declare const AVOutputDeviceDescriptorSchema: GenMessage<AVOutputDeviceDescriptor>;
297
+ /**
298
+ * @generated from message UpdateOutputDeviceMessage
299
+ */
300
+ export type UpdateOutputDeviceMessage = Message<"UpdateOutputDeviceMessage"> & {
301
+ /**
302
+ * @generated from field: repeated AVOutputDeviceDescriptor outputDevices = 1;
303
+ */
304
+ outputDevices: AVOutputDeviceDescriptor[];
305
+ /**
306
+ * @generated from field: optional string endpointUID = 2;
307
+ */
308
+ endpointUID: string;
309
+ /**
310
+ * @generated from field: repeated AVOutputDeviceDescriptor clusterAwareOutputDevices = 3;
311
+ */
312
+ clusterAwareOutputDevices: AVOutputDeviceDescriptor[];
313
+ };
314
+ /**
315
+ * Describes the message UpdateOutputDeviceMessage.
316
+ * Use `create(UpdateOutputDeviceMessageSchema)` to create a new message.
317
+ */
318
+ export declare const UpdateOutputDeviceMessageSchema: GenMessage<UpdateOutputDeviceMessage>;
319
+ /**
320
+ * @generated from extension: optional UpdateOutputDeviceMessage updateOutputDeviceMessage = 69;
321
+ */
322
+ export declare const updateOutputDeviceMessage: GenExtension<ProtocolMessage, UpdateOutputDeviceMessage>;