PreferentialNetworkServiceConfig.Builder.SetNetworkId(Int32) 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 identifier.
[Android.Runtime.Register("setNetworkId", "(I)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=33)]
public Android.App.Admin.PreferentialNetworkServiceConfig.Builder SetNetworkId(int preferenceId);
[<Android.Runtime.Register("setNetworkId", "(I)Landroid/app/admin/PreferentialNetworkServiceConfig$Builder;", "", ApiSince=33)>]
member this.SetNetworkId : int -> Android.App.Admin.PreferentialNetworkServiceConfig.Builder
Parameters
- preferenceId
- Int32
preference Id. Value is one of the following: PreferentialNetworkServiceConfig.PREFERENTIAL_NETWORK_ID_1; PreferentialNetworkServiceConfig.PREFERENTIAL_NETWORK_ID_2; PreferentialNetworkServiceConfig.PREFERENTIAL_NETWORK_ID_3; PreferentialNetworkServiceConfig.PREFERENTIAL_NETWORK_ID_4; PreferentialNetworkServiceConfig.PREFERENTIAL_NETWORK_ID_5
Returns
The builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Set the preferential network identifier. preference identifier is applicable only if preferential network service is enabled.
Android reference for android.app.admin.PreferentialNetworkServiceConfig.Builder.setNetworkId.
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.