NDClient.ReRegistrationNeeded イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ReRegistrationAsync メソッドを呼び出して、アプリが再登録を開始する必要があることをリスナーに通知します。
// Register
event_token ReRegistrationNeeded(TypedEventHandler<NDClient, IInspectable const&> const& handler) const;
// Revoke with event_token
void ReRegistrationNeeded(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::ReRegistrationNeeded_revoker ReRegistrationNeeded(auto_revoke_t, TypedEventHandler<NDClient, IInspectable const&> const& handler) const;
/// [add: 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")]
/// [remove: 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")]
// Register
event_token ReRegistrationNeeded(TypedEventHandler<NDClient, IInspectable const&> const& handler) const;
// Revoke with event_token
void ReRegistrationNeeded(event_token const* cookie) const;
// Revoke with event_revoker
NDClient::ReRegistrationNeeded_revoker ReRegistrationNeeded(auto_revoke_t, TypedEventHandler<NDClient, IInspectable const&> const& handler) const;
public event TypedEventHandler<NDClient,object> ReRegistrationNeeded;
[add: 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")]
[remove: 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 event TypedEventHandler<NDClient,object> ReRegistrationNeeded;
function onReRegistrationNeeded(eventArgs) { /* Your code */ }
nDClient.addEventListener("reregistrationneeded", onReRegistrationNeeded);
nDClient.removeEventListener("reregistrationneeded", onReRegistrationNeeded);
- or -
nDClient.onreregistrationneeded = onReRegistrationNeeded;
Public Custom Event ReRegistrationNeeded As TypedEventHandler(Of NDClient, Object)
イベントの種類
TypedEventHandler<NDClient,IInspectable>
- 属性
注釈
PlayReady ネットワーク デバイス (PRND) プロトコルでは、クライアント レシーバーが 48 時間ごとに送信機に再登録する必要があります。 このイベントは、レシーバーが送信機に正常に登録されてから 47.5 時間が経過したことをリスナーに通知します。 これにより、セッションの有効期限が切れる前に ReRegistrationAsync メソッドを呼び出す機会がアプリに与えられます。