Partilhar via


NDClient.ReRegistrationNeeded Evento

Definição

Notifica os ouvintes de que o aplicativo deve iniciar o novo registro chamando o método 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) 

Tipo de evento

Atributos

Comentários

O protocolo PRND (PlayReady Network Device) exige que os receptores cliente se registrem novamente nos transmissores a cada 48 horas. Esse evento notifica os ouvintes de que 47,5 horas passaram desde que o receptor foi registrado com êxito com um transmissor. Isso dá ao aplicativo a chance de chamar o método ReRegistrationAsync antes que a sessão expire.

Aplica-se a