PreferentialNetworkServiceConfig.Builder.SetEnabled(Boolean) 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.
Set the preferential network service enabled state.
[Android.Runtime.Register("setEnabled", "(Z)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=33)]
public Android.App.Admin.PreferentialNetworkServiceConfig.Builder SetEnabled(bool isEnabled);
[<Android.Runtime.Register("setEnabled", "(Z)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=33)>]
member this.SetEnabled : bool -> Android.App.Admin.PreferentialNetworkServiceConfig.Builder
Parameters
- isEnabled
- Boolean
the desired network preference to use, true to enable else false
Returns
The builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Set the preferential network service enabled state. Default value is false.
Android reference for android.app.admin.PreferentialNetworkServiceConfig.Builder.setEnabled.
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.