C# Class Automobile.Mobile.iOS.Automation.iOSWebClient

Handles events from a webview
Inheritance: NSUrlConnectionDelegate, IWebClient
Afficher le fichier Open project: vistaprint/automobile Class Usage Examples

Méthodes publiques

Méthode Description
CanAuthenticateAgainstProtectionSpace ( NSUrlConnection connection, NSUrlProtectionSpace protectionSpace ) : bool

Tells the connection it can authenticate

ReceivedAuthenticationChallenge ( NSUrlConnection connection, NSUrlAuthenticationChallenge challenge ) : void

Handle the auth challenge on the connection

ReceivedResponse ( NSUrlConnection connection, NSUrlResponse response ) : void

Should be authed now, start up the webview request again

iOSWebClient ( UIWebView view ) : System

Private Methods

Méthode Description
LoadError ( object o, EventArgs e ) : void

Error loading, load did not finish

LoadFinished ( object o, EventArgs args ) : void

Load is finished.

LoadStarted ( object o, EventArgs args ) : void

Called when a page starts loading

ShouldStartLoad ( UIWebView view, NSUrlRequest request, UIWebViewNavigationType navType ) : bool

Start a connection to do the https auth, and cancel the webview request if https

Method Details

CanAuthenticateAgainstProtectionSpace() public méthode

Tells the connection it can authenticate
public CanAuthenticateAgainstProtectionSpace ( NSUrlConnection connection, NSUrlProtectionSpace protectionSpace ) : bool
connection NSUrlConnection
protectionSpace NSUrlProtectionSpace
Résultat bool

ReceivedAuthenticationChallenge() public méthode

Handle the auth challenge on the connection
public ReceivedAuthenticationChallenge ( NSUrlConnection connection, NSUrlAuthenticationChallenge challenge ) : void
connection NSUrlConnection
challenge NSUrlAuthenticationChallenge
Résultat void

ReceivedResponse() public méthode

Should be authed now, start up the webview request again
public ReceivedResponse ( NSUrlConnection connection, NSUrlResponse response ) : void
connection NSUrlConnection
response NSUrlResponse
Résultat void

iOSWebClient() public méthode

public iOSWebClient ( UIWebView view ) : System
view UIWebView
Résultat System