NDClient.ReRegistrationNeeded Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies listeners that the app should start re-registration by calling the ReRegistrationAsync method.
// 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)
Event Type
TypedEventHandler<NDClient,IInspectable>
- Attributes
Remarks
The PlayReady Network Device (PRND) protocol requires client receivers to re-register with transmitters every 48 hours. This event notifies listeners that 47.5 hours have passed since the receiver successfully registered with a transmitter. This gives the app a chance to call the ReRegistrationAsync method before the session expires.