Share via


NDClient.StartAsync メソッド

定義

クライアント レシーバーと送信機の間の登録、近接検出、およびライセンス フェッチ手順を開始します。

public:
 virtual IAsyncOperation<INDStartResult ^> ^ StartAsync(Uri ^ contentUrl, unsigned int startAsyncOptions, INDCustomData ^ registrationCustomData, INDLicenseFetchDescriptor ^ licenseFetchDescriptor) = StartAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<INDStartResult> StartAsync(Uri const& contentUrl, uint32_t const& startAsyncOptions, INDCustomData const& registrationCustomData, INDLicenseFetchDescriptor const& licenseFetchDescriptor);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<INDStartResult> StartAsync(Uri const& contentUrl, uint32_t const& startAsyncOptions, INDCustomData const& registrationCustomData, INDLicenseFetchDescriptor const& licenseFetchDescriptor);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<INDStartResult> StartAsync(System.Uri contentUrl, uint startAsyncOptions, INDCustomData registrationCustomData, INDLicenseFetchDescriptor licenseFetchDescriptor);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<INDStartResult> StartAsync(System.Uri contentUrl, uint startAsyncOptions, INDCustomData registrationCustomData, INDLicenseFetchDescriptor licenseFetchDescriptor);
function startAsync(contentUrl, startAsyncOptions, registrationCustomData, licenseFetchDescriptor)
Public Function StartAsync (contentUrl As Uri, startAsyncOptions As UInteger, registrationCustomData As INDCustomData, licenseFetchDescriptor As INDLicenseFetchDescriptor) As IAsyncOperation(Of INDStartResult)

パラメーター

contentUrl
Uri Uri

ストリーミングされたコンテンツの URL。

startAsyncOptions
UInt32

unsigned int

uint32_t

非同期開始オプション。 これらのオプションの詳細については、 NDStartAsyncOptions 列挙を参照してください。

registrationCustomData
INDCustomData

送信機への登録に使用されるカスタム データ型識別子。

licenseFetchDescriptor
INDLicenseFetchDescriptor

ライセンスのフェッチに使用される記述子。

戻り値

非同期開始呼び出しの結果。

属性

注釈

このメソッドは、送信機との PlayReady-ND セッションを設定し、セッションが確立されるとすぐにコンテンツのストリーミングを開始するようにダウンロード エンジンに通知します。

また、このメソッドは、適切な ClosedCaptionDataReceivedLicenseFetchCompletedProximityDetectionCompletedRegistrationCompletedReRegistrationNeeded イベントを発生させることによって、各タスクが完了したことをリスナーに通知します。

適用対象

こちらもご覧ください