共用方式為


INDStreamParserNotifier 介面

定義

包含資料流程剖析器外掛程式用來將通知傳送至 PlayReady-ND 用戶端的方法。

public interface class INDStreamParserNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
struct INDStreamParserNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
/// [Windows.Foundation.Metadata.Deprecated("INDStreamParserNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
struct INDStreamParserNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
public interface INDStreamParserNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3244797136, 11494, 17004, 172, 229, 94, 146, 117, 254, 167, 21)]
[Windows.Foundation.Metadata.Deprecated("INDStreamParserNotifier 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 INDStreamParserNotifier
Public Interface INDStreamParserNotifier
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

資料流程剖析器外掛程式負責具現化此介面,並使用其方法來傳送通知。

方法

OnBeginSetupDecryptor(IMediaStreamDescriptor, Guid, Byte[])

當資料流程剖析器要求安裝解密程式時,由資料流程剖析器呼叫。

OnContentIDReceived(INDLicenseFetchDescriptor)

當資料流程剖析器收到內容識別碼時,由資料流程剖析器呼叫。

OnMediaStreamDescriptorCreated(IVector<AudioStreamDescriptor>, IVector<VideoStreamDescriptor>)

建立媒體資料流程描述元時,資料流程剖析器會呼叫。

OnSampleParsed(UInt32, NDMediaStreamType, MediaStreamSample, Int64, NDClosedCaptionFormat, Byte[])

當資料流程剖析器從媒體資料流程剖析樣本時呼叫。

適用於