NDClient.ReRegistrationNeeded Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
TypedEventHandler<NDClient,IInspectable>
- 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.