]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type CurrentTimeChangeRequestedEventArgs = *mut ::core::ffi::c_void; |
2 | pub type MuteChangeRequestedEventArgs = *mut ::core::ffi::c_void; | |
3 | pub type PlayToConnection = *mut ::core::ffi::c_void; | |
04454e1e | 4 | #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] |
5e7ed085 FG |
5 | #[cfg(feature = "deprecated")] |
6 | #[repr(transparent)] | |
7 | pub struct PlayToConnectionError(pub i32); | |
8 | #[cfg(feature = "deprecated")] | |
9 | impl PlayToConnectionError { | |
10 | pub const None: Self = Self(0i32); | |
11 | pub const DeviceNotResponding: Self = Self(1i32); | |
12 | pub const DeviceError: Self = Self(2i32); | |
13 | pub const DeviceLocked: Self = Self(3i32); | |
14 | pub const ProtectedPlaybackFailed: Self = Self(4i32); | |
15 | } | |
16 | #[cfg(feature = "deprecated")] | |
17 | impl ::core::marker::Copy for PlayToConnectionError {} | |
18 | #[cfg(feature = "deprecated")] | |
19 | impl ::core::clone::Clone for PlayToConnectionError { | |
20 | fn clone(&self) -> Self { | |
21 | *self | |
22 | } | |
23 | } | |
24 | pub type PlayToConnectionErrorEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 25 | #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] |
5e7ed085 FG |
26 | #[cfg(feature = "deprecated")] |
27 | #[repr(transparent)] | |
28 | pub struct PlayToConnectionState(pub i32); | |
29 | #[cfg(feature = "deprecated")] | |
30 | impl PlayToConnectionState { | |
31 | pub const Disconnected: Self = Self(0i32); | |
32 | pub const Connected: Self = Self(1i32); | |
33 | pub const Rendering: Self = Self(2i32); | |
34 | } | |
35 | #[cfg(feature = "deprecated")] | |
36 | impl ::core::marker::Copy for PlayToConnectionState {} | |
37 | #[cfg(feature = "deprecated")] | |
38 | impl ::core::clone::Clone for PlayToConnectionState { | |
39 | fn clone(&self) -> Self { | |
40 | *self | |
41 | } | |
42 | } | |
43 | pub type PlayToConnectionStateChangedEventArgs = *mut ::core::ffi::c_void; | |
44 | pub type PlayToConnectionTransferredEventArgs = *mut ::core::ffi::c_void; | |
45 | pub type PlayToManager = *mut ::core::ffi::c_void; | |
46 | pub type PlayToReceiver = *mut ::core::ffi::c_void; | |
47 | pub type PlayToSource = *mut ::core::ffi::c_void; | |
48 | pub type PlayToSourceDeferral = *mut ::core::ffi::c_void; | |
49 | pub type PlayToSourceRequest = *mut ::core::ffi::c_void; | |
50 | pub type PlayToSourceRequestedEventArgs = *mut ::core::ffi::c_void; | |
51 | pub type PlayToSourceSelectedEventArgs = *mut ::core::ffi::c_void; | |
52 | pub type PlaybackRateChangeRequestedEventArgs = *mut ::core::ffi::c_void; | |
53 | pub type SourceChangeRequestedEventArgs = *mut ::core::ffi::c_void; | |
54 | pub type VolumeChangeRequestedEventArgs = *mut ::core::ffi::c_void; |