VcnCellUnderlyingNetworkTemplate.Builder.SetInternet 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 the matching criteria for INTERNET networks.
[Android.Runtime.Register("setInternet", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=34)]
public Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder SetInternet(Android.Net.Vcn.TemplateMatchParameter matchCriteria);
[<Android.Runtime.Register("setInternet", "(I)Landroid/net/vcn/VcnCellUnderlyingNetworkTemplate$Builder;", "", ApiSince=34)>]
member this.SetInternet : Android.Net.Vcn.TemplateMatchParameter -> Android.Net.Vcn.VcnCellUnderlyingNetworkTemplate.Builder
Parameters
- matchCriteria
- TemplateMatchParameter
the matching criteria for INTERNET networks. Defaults to VcnUnderlyingNetworkTemplate.MATCH_REQUIRED. Value is one of the following: VcnUnderlyingNetworkTemplate.MATCH_ANY; VcnUnderlyingNetworkTemplate.MATCH_REQUIRED; VcnUnderlyingNetworkTemplate.MATCH_FORBIDDEN
Returns
- Attributes
Remarks
Sets the matching criteria for INTERNET networks.
A template where setInternet(MATCH_REQUIRED) is called will only match INTERNET networks (ones with NET_CAPABILITY_INTERNET). A template where setInternet(MATCH_FORBIDDEN) is called will only match networks that do not support INTERNET (ones without NET_CAPABILITY_INTERNET).
Android reference for android.net.vcn.VcnCellUnderlyingNetworkTemplate.Builder.setInternet.
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.