Share via


PreferentialNetworkServiceConfig.Builder.SetShouldBlockNonMatchingNetworks Method

Definition

[Android.Runtime.Register("setShouldBlockNonMatchingNetworks", "(Z)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=34)]
public Android.App.Admin.PreferentialNetworkServiceConfig.Builder SetShouldBlockNonMatchingNetworks (bool blockNonMatchingNetworks);
[<Android.Runtime.Register("setShouldBlockNonMatchingNetworks", "(Z)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=34)>]
member this.SetShouldBlockNonMatchingNetworks : bool -> Android.App.Admin.PreferentialNetworkServiceConfig.Builder

Parameters

blockNonMatchingNetworks
Boolean

Returns

Attributes

Applies to