MediaPlaybackList.MaxPrefetchTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum prefetch time for MediaPlaybackItem objects in the playback list. The prefetch time is the amount of time before an item is expected to begin playing that the system retrieves the item's media content.
public:
property IReference<TimeSpan> ^ MaxPrefetchTime { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> MaxPrefetchTime();
void MaxPrefetchTime(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> MaxPrefetchTime { get; set; }
var iReference = mediaPlaybackList.maxPrefetchTime;
mediaPlaybackList.maxPrefetchTime = iReference;
Public Property MaxPrefetchTime As Nullable(Of TimeSpan)
Property Value
The maximum prefetch time for MediaPlaybackItem objects in the playback list.
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Remarks
Prefetching allows the system to provide a more seamless playback experience because media content is retrieved before it is needed for playback. Setting a smaller maximum prefetch time can reduce bandwidth usage if the user stops playback before an item begins playing.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro