語言

BasicRouteDirector.DirectStep(IRouteInfo, IRouteInfo) 方法

定義

決定下一步如何建立直接連線。

[Android.Runtime.Register("directStep", "(Lorg/apache/http/conn/routing/RouteInfo;Lorg/apache/http/conn/routing/RouteInfo;)I", "GetDirectStep_Lorg_apache_http_conn_routing_RouteInfo_Lorg_apache_http_conn_routing_RouteInfo_Handler")]
protected virtual int DirectStep(Org.Apache.Http.Conn.Routing.IRouteInfo? plan, Org.Apache.Http.Conn.Routing.IRouteInfo? fact);
[<Android.Runtime.Register("directStep", "(Lorg/apache/http/conn/routing/RouteInfo;Lorg/apache/http/conn/routing/RouteInfo;)I", "GetDirectStep_Lorg_apache_http_conn_routing_RouteInfo_Lorg_apache_http_conn_routing_RouteInfo_Handler")>]
abstract member DirectStep : Org.Apache.Http.Conn.Routing.IRouteInfo * Org.Apache.Http.Conn.Routing.IRouteInfo -> int
override this.DirectStep : Org.Apache.Http.Conn.Routing.IRouteInfo * Org.Apache.Http.Conn.Routing.IRouteInfo -> int

參數

plan
IRouteInfo

規劃路線

fact
IRouteInfo

目前已確立的路線

傳回

路由指示步驟表示已完成或預定的直接路線無法到達。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於