IWebViewControl.UnviewableContentIdentified IWebViewControl.UnviewableContentIdentified IWebViewControl.UnviewableContentIdentified IWebViewControl.UnviewableContentIdentified IWebViewControl.UnviewableContentIdentified Event

Definition

Occurs when the IWebViewControl attempts to download an unsupported file.

public : event TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs> UnviewableContentIdentified
// Register
event_token UnviewableContentIdentified(TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;

// Revoke with event_token
void UnviewableContentIdentified(event_token const& cookie) const;

// Revoke with event_revoker
UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;
public event TypedEventHandler<IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs> UnviewableContentIdentified
Public Event UnviewableContentIdentified As TypedEventHandler (Of IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs)
function onUnviewableContentIdentified(eventArgs){/* Your code */}


iWebViewControl.addEventListener("unviewablecontentidentified", onUnviewableContentIdentified);
iWebViewControl.removeEventListener("unviewablecontentidentified", onUnviewableContentIdentified);

Remarks

The IWebViewControl cannot host arbitrary file types, but you can handle this event and use the Launcher class to redirect the file to the browser or another app.