C# 클래스 Automobile.Mobile.iOS.Automation.iOSWebClient

Handles events from a webview
상속: NSUrlConnectionDelegate, IWebClient
파일 보기 프로젝트 열기: vistaprint/automobile 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CanAuthenticateAgainstProtectionSpace() 공개 메소드

Tells the connection it can authenticate
public CanAuthenticateAgainstProtectionSpace ( NSUrlConnection connection, NSUrlProtectionSpace protectionSpace ) : bool
connection NSUrlConnection
protectionSpace NSUrlProtectionSpace
리턴 bool

ReceivedAuthenticationChallenge() 공개 메소드

Handle the auth challenge on the connection
public ReceivedAuthenticationChallenge ( NSUrlConnection connection, NSUrlAuthenticationChallenge challenge ) : void
connection NSUrlConnection
challenge NSUrlAuthenticationChallenge
리턴 void

ReceivedResponse() 공개 메소드

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

iOSWebClient() 공개 메소드

public iOSWebClient ( UIWebView view ) : System
view UIWebView
리턴 System