ConnectionMigrationOptions.Builder.SetPathDegradationMigration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether to enable the possibility of migrating connections if the current path is performing poorly.
[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
Parameters
one of the MIGRATION_OPTION_* values. Value is one of the following: ConnectionMigrationOptions.MIGRATION_OPTION_UNSPECIFIED; ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED; ConnectionMigrationOptions.MIGRATION_OPTION_DISABLED
Returns
this builder for chaining. This value cannot be null.
- Attributes
Remarks
Sets whether to enable the possibility of migrating connections if the current path is performing poorly.
Depending on other configuration, this can result to migrating the connections within the same default network, or to a non-default network.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.