Share via


INDDownloadEngine Schnittstelle

Definition

Stellt die PlayReady-ND-Download-Engine bereit, die zum Streamen geschützter Medieninhalte von einem Sender verwendet wird.

public interface class INDDownloadEngine
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(757218661, 50358, 17464, 141, 70, 185, 110, 109, 15, 178, 31)]
struct INDDownloadEngine
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(757218661, 50358, 17464, 141, 70, 185, 110, 109, 15, 178, 31)]
/// [Windows.Foundation.Metadata.Deprecated("INDDownloadEngine is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
struct INDDownloadEngine
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(757218661, 50358, 17464, 141, 70, 185, 110, 109, 15, 178, 31)]
public interface INDDownloadEngine
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(757218661, 50358, 17464, 141, 70, 185, 110, 109, 15, 178, 31)]
[Windows.Foundation.Metadata.Deprecated("INDDownloadEngine is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public interface INDDownloadEngine
Public Interface INDDownloadEngine
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Eigenschaften

BufferFullMaxThresholdInSamples

Ruft den maximalen Schwellenwert des Beispielpuffers ab.

BufferFullMinThresholdInSamples

Ruft die Mindestanzahl von Beispielen ab, die ein Beispielpuffer enthalten kann, bevor der Download eines Downloadmoduls fortgesetzt wird.

CanSeek

Ruft ab, ob die Download-Engine die Suche unterstützt.

Notifier

Ruft den Download-Engine-Notifier ab, der eine Benachrichtigung über Downloadstreamereignisse vom Sender bereitstellt.

Methoden

Close()

Benachrichtigt die Download-Engine, das Herunterladen zu beenden und die Verbindung mit dem Remoteserver zu trennen.

Open(Uri, Byte[])

Benachrichtigt die Download-Engine, den durch eine URL angegebenen Inhalt zu öffnen.

Pause()

Benachrichtigt die Download-Engine, den Download anzuhalten.

Resume()

Benachrichtigt die Download-Engine, einen angehaltenen Download fortzusetzen.

Seek(TimeSpan)

Benachrichtigt die Download-Engine, zu einer bestimmten Zeitposition im Mediendatenstrom zu wechseln.

Gilt für: