mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
894 lines
68 KiB
C++
894 lines
68 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Media_Streaming_Adaptive_0_H
|
|
#define WINRT_Windows_Media_Streaming_Adaptive_0_H
|
|
WINRT_EXPORT namespace winrt::Windows::Foundation
|
|
{
|
|
struct EventRegistrationToken;
|
|
struct HResult;
|
|
template <typename T> struct WINRT_IMPL_EMPTY_BASES IReference;
|
|
template <typename TSender, typename TResult> struct WINRT_IMPL_EMPTY_BASES TypedEventHandler;
|
|
struct Uri;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
|
|
{
|
|
struct IBuffer;
|
|
struct IInputStream;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Windows::Web::Http
|
|
{
|
|
struct HttpClient;
|
|
struct HttpResponseMessage;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Windows::Media::Streaming::Adaptive
|
|
{
|
|
enum class AdaptiveMediaSourceCreationStatus : int32_t
|
|
{
|
|
Success = 0,
|
|
ManifestDownloadFailure = 1,
|
|
ManifestParseFailure = 2,
|
|
UnsupportedManifestContentType = 3,
|
|
UnsupportedManifestVersion = 4,
|
|
UnsupportedManifestProfile = 5,
|
|
UnknownFailure = 6,
|
|
};
|
|
enum class AdaptiveMediaSourceDiagnosticType : int32_t
|
|
{
|
|
ManifestUnchangedUponReload = 0,
|
|
ManifestMismatchUponReload = 1,
|
|
ManifestSignaledEndOfLiveEventUponReload = 2,
|
|
MediaSegmentSkipped = 3,
|
|
ResourceNotFound = 4,
|
|
ResourceTimedOut = 5,
|
|
ResourceParsingError = 6,
|
|
BitrateDisabled = 7,
|
|
FatalMediaSourceError = 8,
|
|
};
|
|
enum class AdaptiveMediaSourceDownloadBitrateChangedReason : int32_t
|
|
{
|
|
SufficientInboundBitsPerSecond = 0,
|
|
InsufficientInboundBitsPerSecond = 1,
|
|
LowBufferLevel = 2,
|
|
PositionChanged = 3,
|
|
TrackSelectionChanged = 4,
|
|
DesiredBitratesChanged = 5,
|
|
ErrorInPreviousBitrate = 6,
|
|
};
|
|
enum class AdaptiveMediaSourceResourceType : int32_t
|
|
{
|
|
Manifest = 0,
|
|
InitializationSegment = 1,
|
|
MediaSegment = 2,
|
|
Key = 3,
|
|
InitializationVector = 4,
|
|
MediaSegmentIndex = 5,
|
|
};
|
|
struct IAdaptiveMediaSource;
|
|
struct IAdaptiveMediaSource2;
|
|
struct IAdaptiveMediaSource3;
|
|
struct IAdaptiveMediaSourceAdvancedSettings;
|
|
struct IAdaptiveMediaSourceCorrelatedTimes;
|
|
struct IAdaptiveMediaSourceCreationResult;
|
|
struct IAdaptiveMediaSourceCreationResult2;
|
|
struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs;
|
|
struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs2;
|
|
struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs3;
|
|
struct IAdaptiveMediaSourceDiagnostics;
|
|
struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs;
|
|
struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2;
|
|
struct IAdaptiveMediaSourceDownloadCompletedEventArgs;
|
|
struct IAdaptiveMediaSourceDownloadCompletedEventArgs2;
|
|
struct IAdaptiveMediaSourceDownloadCompletedEventArgs3;
|
|
struct IAdaptiveMediaSourceDownloadFailedEventArgs;
|
|
struct IAdaptiveMediaSourceDownloadFailedEventArgs2;
|
|
struct IAdaptiveMediaSourceDownloadFailedEventArgs3;
|
|
struct IAdaptiveMediaSourceDownloadRequestedDeferral;
|
|
struct IAdaptiveMediaSourceDownloadRequestedEventArgs;
|
|
struct IAdaptiveMediaSourceDownloadRequestedEventArgs2;
|
|
struct IAdaptiveMediaSourceDownloadRequestedEventArgs3;
|
|
struct IAdaptiveMediaSourceDownloadResult;
|
|
struct IAdaptiveMediaSourceDownloadResult2;
|
|
struct IAdaptiveMediaSourceDownloadStatistics;
|
|
struct IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs;
|
|
struct IAdaptiveMediaSourceStatics;
|
|
struct AdaptiveMediaSource;
|
|
struct AdaptiveMediaSourceAdvancedSettings;
|
|
struct AdaptiveMediaSourceCorrelatedTimes;
|
|
struct AdaptiveMediaSourceCreationResult;
|
|
struct AdaptiveMediaSourceDiagnosticAvailableEventArgs;
|
|
struct AdaptiveMediaSourceDiagnostics;
|
|
struct AdaptiveMediaSourceDownloadBitrateChangedEventArgs;
|
|
struct AdaptiveMediaSourceDownloadCompletedEventArgs;
|
|
struct AdaptiveMediaSourceDownloadFailedEventArgs;
|
|
struct AdaptiveMediaSourceDownloadRequestedDeferral;
|
|
struct AdaptiveMediaSourceDownloadRequestedEventArgs;
|
|
struct AdaptiveMediaSourceDownloadResult;
|
|
struct AdaptiveMediaSourceDownloadStatistics;
|
|
struct AdaptiveMediaSourcePlaybackBitrateChangedEventArgs;
|
|
}
|
|
namespace winrt::impl
|
|
{
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason>{ using type = enum_category; };
|
|
template <> struct category<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType>{ using type = enum_category; };
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSource";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceAdvancedSettings";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCorrelatedTimes";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationResult";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnostics";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadFailedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedDeferral";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadResult";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadStatistics";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationStatus";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticType";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedReason";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType> = L"Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceResourceType";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSource";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSource2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSource3";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceAdvancedSettings";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceCorrelatedTimes";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceCreationResult";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceCreationResult2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnosticAvailableEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnosticAvailableEventArgs2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnosticAvailableEventArgs3";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDiagnostics";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadBitrateChangedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadCompletedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadCompletedEventArgs2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadCompletedEventArgs3";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadFailedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadFailedEventArgs2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadFailedEventArgs3";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedDeferral";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedEventArgs2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadRequestedEventArgs3";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadResult";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadResult2";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceDownloadStatistics";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics> = L"Windows.Media.Streaming.Adaptive.IAdaptiveMediaSourceStatics";
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>{ 0x4C7332EF,0xD39F,0x4396,{ 0xB4,0xD9,0x04,0x39,0x57,0xA7,0xC9,0x64 } }; // 4C7332EF-D39F-4396-B4D9-043957A7C964
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2>{ 0x17890342,0x6760,0x4BB9,{ 0xA5,0x8A,0xF7,0xAA,0x98,0xB0,0x8C,0x0E } }; // 17890342-6760-4BB9-A58A-F7AA98B08C0E
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3>{ 0xBA7023FD,0xC334,0x461B,{ 0xA3,0x6E,0xC9,0x9F,0x54,0xF7,0x17,0x4A } }; // BA7023FD-C334-461B-A36E-C99F54F7174A
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings>{ 0x55DB1680,0x1AEB,0x47DC,{ 0xAA,0x08,0x9A,0x11,0x61,0x0B,0xA4,0x5A } }; // 55DB1680-1AEB-47DC-AA08-9A11610BA45A
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes>{ 0x05108787,0xE032,0x48E1,{ 0xAB,0x8D,0x00,0x2B,0x0B,0x30,0x51,0xDF } }; // 05108787-E032-48E1-AB8D-002B0B3051DF
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult>{ 0x4686B6B2,0x800F,0x4E31,{ 0x90,0x93,0x76,0xD4,0x78,0x20,0x13,0xE7 } }; // 4686B6B2-800F-4E31-9093-76D4782013E7
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2>{ 0x1C3243BF,0x1C44,0x404B,{ 0xA2,0x01,0xDF,0x45,0xAC,0x78,0x98,0xE8 } }; // 1C3243BF-1C44-404B-A201-DF45AC7898E8
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs>{ 0x3AF64F06,0x6D9C,0x494A,{ 0xB7,0xA9,0xB3,0xA5,0xDE,0xE6,0xAD,0x68 } }; // 3AF64F06-6D9C-494A-B7A9-B3A5DEE6AD68
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2>{ 0x8C6DD857,0x16A5,0x4D9F,{ 0x81,0x0E,0x00,0xBD,0x90,0x1B,0x3E,0xF9 } }; // 8C6DD857-16A5-4D9F-810E-00BD901B3EF9
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3>{ 0xC3650CD5,0xDAEB,0x4103,{ 0x84,0xDA,0x68,0x76,0x9A,0xD5,0x13,0xFF } }; // C3650CD5-DAEB-4103-84DA-68769AD513FF
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>{ 0x9B24EE68,0x962E,0x448C,{ 0xAE,0xBF,0xB2,0x9B,0x56,0x09,0x8E,0x23 } }; // 9B24EE68-962E-448C-AEBF-B29B56098E23
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs>{ 0x670C0A44,0xE04E,0x4EFF,{ 0x81,0x6A,0x17,0x39,0x9F,0x78,0xF4,0xBA } }; // 670C0A44-E04E-4EFF-816A-17399F78F4BA
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2>{ 0xF3F1F444,0x96AE,0x4DE0,{ 0xB5,0x40,0x2B,0x32,0x46,0xE6,0x96,0x8C } }; // F3F1F444-96AE-4DE0-B540-2B3246E6968C
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs>{ 0x19240DC3,0x5B37,0x4A1A,{ 0x89,0x70,0xD6,0x21,0xCB,0x6C,0xA8,0x3B } }; // 19240DC3-5B37-4A1A-8970-D621CB6CA83B
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2>{ 0x704744C4,0x964A,0x40E4,{ 0xAF,0x95,0x91,0x77,0xDD,0x6D,0xFA,0x00 } }; // 704744C4-964A-40E4-AF95-9177DD6DFA00
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3>{ 0x0F8A8BD1,0x93B2,0x47C6,{ 0xBA,0xDC,0x8B,0xE2,0xC8,0xF7,0xF6,0xE8 } }; // 0F8A8BD1-93B2-47C6-BADC-8BE2C8F7F6E8
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs>{ 0x37739048,0xF4AB,0x40A4,{ 0xB1,0x35,0xC6,0xDF,0xD8,0xBD,0x7F,0xF1 } }; // 37739048-F4AB-40A4-B135-C6DFD8BD7FF1
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2>{ 0x70919568,0x967C,0x4986,{ 0x90,0xC5,0xC6,0xFC,0x4B,0x31,0xE2,0xD8 } }; // 70919568-967C-4986-90C5-C6FC4B31E2D8
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3>{ 0xD0354549,0x1132,0x4A10,{ 0x91,0x5A,0xC2,0x21,0x1B,0x5B,0x94,0x09 } }; // D0354549-1132-4A10-915A-C2211B5B9409
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral>{ 0x05C68F64,0xFA20,0x4DBD,{ 0x98,0x21,0x4B,0xF4,0xC9,0xBF,0x77,0xAB } }; // 05C68F64-FA20-4DBD-9821-4BF4C9BF77AB
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs>{ 0xC83FDFFD,0x44A9,0x47A2,{ 0xBF,0x96,0x03,0x39,0x8B,0x4B,0xFA,0xAF } }; // C83FDFFD-44A9-47A2-BF96-03398B4BFAAF
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2>{ 0xB37D8BFE,0xAA44,0x4D82,{ 0x82,0x5B,0x61,0x1D,0xE3,0xBC,0xFE,0xCB } }; // B37D8BFE-AA44-4D82-825B-611DE3BCFECB
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3>{ 0x333C50FD,0x4F62,0x4481,{ 0xAB,0x44,0x1E,0x47,0xB0,0x57,0x42,0x25 } }; // 333C50FD-4F62-4481-AB44-1E47B0574225
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult>{ 0xF4AFDC73,0xBCEE,0x4A6A,{ 0x9F,0x0A,0xFE,0xC4,0x1E,0x23,0x39,0xB0 } }; // F4AFDC73-BCEE-4A6A-9F0A-FEC41E2339B0
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2>{ 0x15552CB7,0x7B80,0x4AC4,{ 0x86,0x60,0xA4,0xB9,0x7F,0x7C,0x70,0xF0 } }; // 15552CB7-7B80-4AC4-8660-A4B97F7C70F0
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics>{ 0xA306CEFB,0xE96A,0x4DFF,{ 0xA9,0xB8,0x1A,0xE0,0x8C,0x01,0xAE,0x98 } }; // A306CEFB-E96A-4DFF-A9B8-1AE08C01AE98
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs>{ 0x23A29F6D,0x7DDA,0x4A51,{ 0x87,0xA9,0x6F,0xA8,0xC5,0xB2,0x92,0xBE } }; // 23A29F6D-7DDA-4A51-87A9-6FA8C5B292BE
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics>{ 0x50A6BD5D,0x66EF,0x4CD3,{ 0x95,0x79,0x9E,0x66,0x05,0x07,0xDC,0x3F } }; // 50A6BD5D-66EF-4CD3-9579-9E660507DC3F
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics; };
|
|
template <> struct default_interface<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs>{ using type = winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs; };
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_IsLive(bool*) noexcept = 0;
|
|
virtual int32_t __stdcall get_DesiredLiveOffset(int64_t*) noexcept = 0;
|
|
virtual int32_t __stdcall put_DesiredLiveOffset(int64_t) noexcept = 0;
|
|
virtual int32_t __stdcall get_InitialBitrate(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall put_InitialBitrate(uint32_t) noexcept = 0;
|
|
virtual int32_t __stdcall get_CurrentDownloadBitrate(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_CurrentPlaybackBitrate(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_AvailableBitrates(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_DesiredMinBitrate(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_DesiredMinBitrate(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_DesiredMaxBitrate(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_DesiredMaxBitrate(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_AudioOnlyPlayback(bool*) noexcept = 0;
|
|
virtual int32_t __stdcall get_InboundBitsPerSecond(uint64_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_InboundBitsPerSecondWindow(int64_t*) noexcept = 0;
|
|
virtual int32_t __stdcall put_InboundBitsPerSecondWindow(int64_t) noexcept = 0;
|
|
virtual int32_t __stdcall add_DownloadBitrateChanged(void*, winrt::event_token*) noexcept = 0;
|
|
virtual int32_t __stdcall remove_DownloadBitrateChanged(winrt::event_token) noexcept = 0;
|
|
virtual int32_t __stdcall add_PlaybackBitrateChanged(void*, winrt::event_token*) noexcept = 0;
|
|
virtual int32_t __stdcall remove_PlaybackBitrateChanged(winrt::event_token) noexcept = 0;
|
|
virtual int32_t __stdcall add_DownloadRequested(void*, winrt::event_token*) noexcept = 0;
|
|
virtual int32_t __stdcall remove_DownloadRequested(winrt::event_token) noexcept = 0;
|
|
virtual int32_t __stdcall add_DownloadCompleted(void*, winrt::event_token*) noexcept = 0;
|
|
virtual int32_t __stdcall remove_DownloadCompleted(winrt::event_token) noexcept = 0;
|
|
virtual int32_t __stdcall add_DownloadFailed(void*, winrt::event_token*) noexcept = 0;
|
|
virtual int32_t __stdcall remove_DownloadFailed(winrt::event_token) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_AdvancedSettings(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_MinLiveOffset(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_MaxSeekableWindowSize(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_DesiredSeekableWindowSize(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_DesiredSeekableWindowSize(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Diagnostics(void**) noexcept = 0;
|
|
virtual int32_t __stdcall GetCorrelatedTimes(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_AllSegmentsIndependent(bool*) noexcept = 0;
|
|
virtual int32_t __stdcall put_AllSegmentsIndependent(bool) noexcept = 0;
|
|
virtual int32_t __stdcall get_DesiredBitrateHeadroomRatio(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_DesiredBitrateHeadroomRatio(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_BitrateDowngradeTriggerRatio(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_BitrateDowngradeTriggerRatio(void*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_Position(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_PresentationTimeStamp(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ProgramDateTime(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_MediaSource(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_HttpResponseMessage(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_DiagnosticType(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_RequestId(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_Position(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_SegmentId(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceType(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_Bitrate(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall add_DiagnosticAvailable(void*, winrt::event_token*) noexcept = 0;
|
|
virtual int32_t __stdcall remove_DiagnosticAvailable(winrt::event_token) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_OldValue(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_NewValue(uint32_t*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceType(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_HttpResponseMessage(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_RequestId(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Statistics(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_Position(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceType(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_HttpResponseMessage(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_RequestId(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Statistics(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_Position(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall Complete() noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceType(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_Result(void**) noexcept = 0;
|
|
virtual int32_t __stdcall GetDeferral(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_RequestId(int32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Position(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceDuration(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceContentType(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceUri(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_ResourceUri(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_InputStream(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_InputStream(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_Buffer(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_Buffer(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ContentType(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_ContentType(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ExtendedStatus(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall put_ExtendedStatus(uint32_t) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ResourceByteRangeOffset(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_ResourceByteRangeOffset(void*) noexcept = 0;
|
|
virtual int32_t __stdcall get_ResourceByteRangeLength(void**) noexcept = 0;
|
|
virtual int32_t __stdcall put_ResourceByteRangeLength(void*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_ContentBytesReceivedCount(uint64_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_TimeToHeadersReceived(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_TimeToFirstByteReceived(void**) noexcept = 0;
|
|
virtual int32_t __stdcall get_TimeToLastByteReceived(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_OldValue(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_NewValue(uint32_t*) noexcept = 0;
|
|
virtual int32_t __stdcall get_AudioOnly(bool*) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics>
|
|
{
|
|
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall IsContentTypeSupported(void*, bool*) noexcept = 0;
|
|
virtual int32_t __stdcall CreateFromUriAsync(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall CreateFromUriWithDownloaderAsync(void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall CreateFromStreamAsync(void*, void*, void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall CreateFromStreamWithDownloaderAsync(void*, void*, void*, void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource
|
|
{
|
|
[[nodiscard]] auto IsLive() const;
|
|
[[nodiscard]] auto DesiredLiveOffset() const;
|
|
auto DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const;
|
|
[[nodiscard]] auto InitialBitrate() const;
|
|
auto InitialBitrate(uint32_t value) const;
|
|
[[nodiscard]] auto CurrentDownloadBitrate() const;
|
|
[[nodiscard]] auto CurrentPlaybackBitrate() const;
|
|
[[nodiscard]] auto AvailableBitrates() const;
|
|
[[nodiscard]] auto DesiredMinBitrate() const;
|
|
auto DesiredMinBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
|
|
[[nodiscard]] auto DesiredMaxBitrate() const;
|
|
auto DesiredMaxBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
|
|
[[nodiscard]] auto AudioOnlyPlayback() const;
|
|
[[nodiscard]] auto InboundBitsPerSecond() const;
|
|
[[nodiscard]] auto InboundBitsPerSecondWindow() const;
|
|
auto InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const;
|
|
auto DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const;
|
|
using DownloadBitrateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadBitrateChanged>;
|
|
[[nodiscard]] auto DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const;
|
|
auto DownloadBitrateChanged(winrt::event_token const& token) const noexcept;
|
|
auto PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const;
|
|
using PlaybackBitrateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_PlaybackBitrateChanged>;
|
|
[[nodiscard]] auto PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const;
|
|
auto PlaybackBitrateChanged(winrt::event_token const& token) const noexcept;
|
|
auto DownloadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const;
|
|
using DownloadRequested_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadRequested>;
|
|
[[nodiscard]] auto DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const;
|
|
auto DownloadRequested(winrt::event_token const& token) const noexcept;
|
|
auto DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const;
|
|
using DownloadCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadCompleted>;
|
|
[[nodiscard]] auto DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const;
|
|
auto DownloadCompleted(winrt::event_token const& token) const noexcept;
|
|
auto DownloadFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const;
|
|
using DownloadFailed_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadFailed>;
|
|
[[nodiscard]] auto DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const;
|
|
auto DownloadFailed(winrt::event_token const& token) const noexcept;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2
|
|
{
|
|
[[nodiscard]] auto AdvancedSettings() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3
|
|
{
|
|
[[nodiscard]] auto MinLiveOffset() const;
|
|
[[nodiscard]] auto MaxSeekableWindowSize() const;
|
|
[[nodiscard]] auto DesiredSeekableWindowSize() const;
|
|
auto DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
|
|
[[nodiscard]] auto Diagnostics() const;
|
|
auto GetCorrelatedTimes() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings
|
|
{
|
|
[[nodiscard]] auto AllSegmentsIndependent() const;
|
|
auto AllSegmentsIndependent(bool value) const;
|
|
[[nodiscard]] auto DesiredBitrateHeadroomRatio() const;
|
|
auto DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference<double> const& value) const;
|
|
[[nodiscard]] auto BitrateDowngradeTriggerRatio() const;
|
|
auto BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference<double> const& value) const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes
|
|
{
|
|
[[nodiscard]] auto Position() const;
|
|
[[nodiscard]] auto PresentationTimeStamp() const;
|
|
[[nodiscard]] auto ProgramDateTime() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult
|
|
{
|
|
[[nodiscard]] auto Status() const;
|
|
[[nodiscard]] auto MediaSource() const;
|
|
[[nodiscard]] auto HttpResponseMessage() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2
|
|
{
|
|
[[nodiscard]] auto ExtendedError() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs
|
|
{
|
|
[[nodiscard]] auto DiagnosticType() const;
|
|
[[nodiscard]] auto RequestId() const;
|
|
[[nodiscard]] auto Position() const;
|
|
[[nodiscard]] auto SegmentId() const;
|
|
[[nodiscard]] auto ResourceType() const;
|
|
[[nodiscard]] auto ResourceUri() const;
|
|
[[nodiscard]] auto ResourceByteRangeOffset() const;
|
|
[[nodiscard]] auto ResourceByteRangeLength() const;
|
|
[[nodiscard]] auto Bitrate() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2
|
|
{
|
|
[[nodiscard]] auto ExtendedError() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3
|
|
{
|
|
[[nodiscard]] auto ResourceDuration() const;
|
|
[[nodiscard]] auto ResourceContentType() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics
|
|
{
|
|
auto DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const;
|
|
using DiagnosticAvailable_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>::remove_DiagnosticAvailable>;
|
|
[[nodiscard]] auto DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const;
|
|
auto DiagnosticAvailable(winrt::event_token const& token) const noexcept;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs
|
|
{
|
|
[[nodiscard]] auto OldValue() const;
|
|
[[nodiscard]] auto NewValue() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2
|
|
{
|
|
[[nodiscard]] auto Reason() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs
|
|
{
|
|
[[nodiscard]] auto ResourceType() const;
|
|
[[nodiscard]] auto ResourceUri() const;
|
|
[[nodiscard]] auto ResourceByteRangeOffset() const;
|
|
[[nodiscard]] auto ResourceByteRangeLength() const;
|
|
[[nodiscard]] auto HttpResponseMessage() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2
|
|
{
|
|
[[nodiscard]] auto RequestId() const;
|
|
[[nodiscard]] auto Statistics() const;
|
|
[[nodiscard]] auto Position() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3
|
|
{
|
|
[[nodiscard]] auto ResourceDuration() const;
|
|
[[nodiscard]] auto ResourceContentType() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs
|
|
{
|
|
[[nodiscard]] auto ResourceType() const;
|
|
[[nodiscard]] auto ResourceUri() const;
|
|
[[nodiscard]] auto ResourceByteRangeOffset() const;
|
|
[[nodiscard]] auto ResourceByteRangeLength() const;
|
|
[[nodiscard]] auto HttpResponseMessage() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2
|
|
{
|
|
[[nodiscard]] auto RequestId() const;
|
|
[[nodiscard]] auto ExtendedError() const;
|
|
[[nodiscard]] auto Statistics() const;
|
|
[[nodiscard]] auto Position() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3
|
|
{
|
|
[[nodiscard]] auto ResourceDuration() const;
|
|
[[nodiscard]] auto ResourceContentType() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral
|
|
{
|
|
auto Complete() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs
|
|
{
|
|
[[nodiscard]] auto ResourceType() const;
|
|
[[nodiscard]] auto ResourceUri() const;
|
|
[[nodiscard]] auto ResourceByteRangeOffset() const;
|
|
[[nodiscard]] auto ResourceByteRangeLength() const;
|
|
[[nodiscard]] auto Result() const;
|
|
auto GetDeferral() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2
|
|
{
|
|
[[nodiscard]] auto RequestId() const;
|
|
[[nodiscard]] auto Position() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3
|
|
{
|
|
[[nodiscard]] auto ResourceDuration() const;
|
|
[[nodiscard]] auto ResourceContentType() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult
|
|
{
|
|
[[nodiscard]] auto ResourceUri() const;
|
|
auto ResourceUri(winrt::Windows::Foundation::Uri const& value) const;
|
|
[[nodiscard]] auto InputStream() const;
|
|
auto InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const;
|
|
[[nodiscard]] auto Buffer() const;
|
|
auto Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const;
|
|
[[nodiscard]] auto ContentType() const;
|
|
auto ContentType(param::hstring const& value) const;
|
|
[[nodiscard]] auto ExtendedStatus() const;
|
|
auto ExtendedStatus(uint32_t value) const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2
|
|
{
|
|
[[nodiscard]] auto ResourceByteRangeOffset() const;
|
|
auto ResourceByteRangeOffset(winrt::Windows::Foundation::IReference<uint64_t> const& value) const;
|
|
[[nodiscard]] auto ResourceByteRangeLength() const;
|
|
auto ResourceByteRangeLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics
|
|
{
|
|
[[nodiscard]] auto ContentBytesReceivedCount() const;
|
|
[[nodiscard]] auto TimeToHeadersReceived() const;
|
|
[[nodiscard]] auto TimeToFirstByteReceived() const;
|
|
[[nodiscard]] auto TimeToLastByteReceived() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs
|
|
{
|
|
[[nodiscard]] auto OldValue() const;
|
|
[[nodiscard]] auto NewValue() const;
|
|
[[nodiscard]] auto AudioOnly() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics
|
|
{
|
|
auto IsContentTypeSupported(param::hstring const& contentType) const;
|
|
auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const;
|
|
auto CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const;
|
|
auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const;
|
|
auto CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType, winrt::Windows::Web::Http::HttpClient const& httpClient) const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics>
|
|
{
|
|
template <typename D> using type = consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>;
|
|
};
|
|
}
|
|
#endif
|