ConnectionMigrationOptions.Builder.SetDefaultNetworkMigration 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 on default network change.
[Android.Runtime.Register("setDefaultNetworkMigration", "(I)Landroid/net/http/ConnectionMigrationOptions$Builder;", "", ApiSince=34)]
public Android.Net.Http.ConnectionMigrationOptions.Builder SetDefaultNetworkMigration(Android.Net.Http.ConnectionMigrationOption state);
[<Android.Runtime.Register("setDefaultNetworkMigration", "(I)Landroid/net/http/ConnectionMigrationOptions$Builder;", "", ApiSince=34)>]
member this.SetDefaultNetworkMigration : 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 on default network change. If enabled, active QUIC connections will be migrated onto the new network when the platform indicates that the default network is changing.
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.