共用方式為


UrlRequest.ICallback.OnRedirectReceived Method

Definition

[Android.Runtime.Register("onRedirectReceived", "(Landroid/net/http/UrlRequest;Landroid/net/http/UrlResponseInfo;Ljava/lang/String;)V", "GetOnRedirectReceived_Landroid_net_http_UrlRequest_Landroid_net_http_UrlResponseInfo_Ljava_lang_String_Handler:Android.Net.Http.UrlRequest/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnRedirectReceived (Android.Net.Http.UrlRequest request, Android.Net.Http.UrlResponseInfo info, string newLocationUrl);
[<Android.Runtime.Register("onRedirectReceived", "(Landroid/net/http/UrlRequest;Landroid/net/http/UrlResponseInfo;Ljava/lang/String;)V", "GetOnRedirectReceived_Landroid_net_http_UrlRequest_Landroid_net_http_UrlResponseInfo_Ljava_lang_String_Handler:Android.Net.Http.UrlRequest/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnRedirectReceived : Android.Net.Http.UrlRequest * Android.Net.Http.UrlResponseInfo * string -> unit

Parameters

request
UrlRequest
newLocationUrl
String
Attributes

Applies to