Language

ConnectionMigrationOptions.Builder.SetPathDegradationMigration メソッド

定義

現在のパスのパフォーマンスが低下している場合に接続を移行できるかどうかを設定します。

[Android.Runtime.Register("setPathDegradationMigration", "(I)Landroid/net/http/ConnectionMigrationOptions$Builder;", "", ApiSince=34)]
public Android.Net.Http.ConnectionMigrationOptions.Builder SetPathDegradationMigration(Android.Net.Http.ConnectionMigrationOption state);
[<Android.Runtime.Register("setPathDegradationMigration", "(I)Landroid/net/http/ConnectionMigrationOptions$Builder;", "", ApiSince=34)>]
member this.SetPathDegradationMigration : Android.Net.Http.ConnectionMigrationOption -> Android.Net.Http.ConnectionMigrationOptions.Builder

パラメーター

state
ConnectionMigrationOption

MIGRATION_OPTION_* 値のいずれか。 値は次のいずれかです: ConnectionMigrationOptions.MIGRATION_OPTION_UNSPECIFIED;ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED;ConnectionMigrationOptions.MIGRATION_OPTION_DISABLED

返品

チェーン用のこのビルダー。 この値は null にすることはできません。

属性

注釈

現在のパスのパフォーマンスが低下している場合に接続を移行できるかどうかを設定します。

他の構成によっては、同じ既定のネットワーク内または既定以外のネットワークに接続が移行される可能性があります。

android.net.http.ConnectionMigrationOptions.Builder.setPathDegradationMigrationの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象